Skip to content

Get Report Group Trend

codebuild_get_report_group_trend R Documentation

Analyzes and accumulates test report values for the specified test reports

Description

Analyzes and accumulates test report values for the specified test reports.

Usage

codebuild_get_report_group_trend(reportGroupArn, numOfReports,
  trendField)

Arguments

reportGroupArn

[required] The ARN of the report group that contains the reports to analyze.

numOfReports

The number of reports to analyze. This operation always retrieves the most recent reports.

If this parameter is omitted, the most recent 100 reports are analyzed.

trendField

[required] The test report value to accumulate. This must be one of the following values:

Test reports:

DURATION

Accumulate the test run times for the specified reports.

PASS_RATE

Accumulate the percentage of tests that passed for the specified test reports.

TOTAL

Accumulate the total number of tests for the specified test reports.

Code coverage reports:

BRANCH_COVERAGE

Accumulate the branch coverage percentages for the specified test reports.

BRANCHES_COVERED

Accumulate the branches covered values for the specified test reports.

BRANCHES_MISSED

Accumulate the branches missed values for the specified test reports.

LINE_COVERAGE

Accumulate the line coverage percentages for the specified test reports.

LINES_COVERED

Accumulate the lines covered values for the specified test reports.

LINES_MISSED

Accumulate the lines not covered values for the specified test reports.

Value

A list with the following syntax:

list(
  stats = list(
    average = "string",
    max = "string",
    min = "string"
  ),
  rawData = list(
    list(
      reportArn = "string",
      data = "string"
    )
  )
)

Request syntax

svc$get_report_group_trend(
  reportGroupArn = "string",
  numOfReports = 123,
  trendField = "PASS_RATE"|"DURATION"|"TOTAL"|"LINE_COVERAGE"|"LINES_COVERED"|"LINES_MISSED"|"BRANCH_COVERAGE"|"BRANCHES_COVERED"|"BRANCHES_MISSED"
)