Class: Aws::CodeBuild::Types::GetReportGroupTrendInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb

Overview

Note:

When making an API call, you may pass GetReportGroupTrendInput data as a hash:

{
  report_group_arn: "NonEmptyString", # required
  num_of_reports: 1,
  trend_field: "PASS_RATE", # required, accepts PASS_RATE, DURATION, TOTAL, LINE_COVERAGE, LINES_COVERED, LINES_MISSED, BRANCH_COVERAGE, BRANCHES_COVERED, BRANCHES_MISSED
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#num_of_reportsInteger

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.

Returns:

  • (Integer)


2553
2554
2555
2556
2557
2558
2559
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2553

class GetReportGroupTrendInput < Struct.new(
  :report_group_arn,
  :num_of_reports,
  :trend_field)
  SENSITIVE = []
  include Aws::Structure
end

#report_group_arnString

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

Returns:

  • (String)


2553
2554
2555
2556
2557
2558
2559
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2553

class GetReportGroupTrendInput < Struct.new(
  :report_group_arn,
  :num_of_reports,
  :trend_field)
  SENSITIVE = []
  include Aws::Structure
end

#trend_fieldString

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.

Returns:

  • (String)


2553
2554
2555
2556
2557
2558
2559
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2553

class GetReportGroupTrendInput < Struct.new(
  :report_group_arn,
  :num_of_reports,
  :trend_field)
  SENSITIVE = []
  include Aws::Structure
end