Class: Aws::CodeBuild::Types::CodeCoverageReportSummary

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

Overview

Contains a summary of a code coverage report.

Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.

Branch coverage determines if your tests cover every possible branch of a control structure, such as an ‘if` or `case` statement.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branch_coverage_percentageFloat

The percentage of branches that are covered by your tests.

Returns:

  • (Float)


1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-codebuild/types.rb', line 1388

class CodeCoverageReportSummary < Struct.new(
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed)
  SENSITIVE = []
  include Aws::Structure
end

#branches_coveredInteger

The number of conditional branches that are covered by your tests.

Returns:

  • (Integer)


1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-codebuild/types.rb', line 1388

class CodeCoverageReportSummary < Struct.new(
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed)
  SENSITIVE = []
  include Aws::Structure
end

#branches_missedInteger

The number of conditional branches that are not covered by your tests.

Returns:

  • (Integer)


1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-codebuild/types.rb', line 1388

class CodeCoverageReportSummary < Struct.new(
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed)
  SENSITIVE = []
  include Aws::Structure
end

#line_coverage_percentageFloat

The percentage of lines that are covered by your tests.

Returns:

  • (Float)


1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-codebuild/types.rb', line 1388

class CodeCoverageReportSummary < Struct.new(
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed)
  SENSITIVE = []
  include Aws::Structure
end

#lines_coveredInteger

The number of lines that are covered by your tests.

Returns:

  • (Integer)


1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-codebuild/types.rb', line 1388

class CodeCoverageReportSummary < Struct.new(
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed)
  SENSITIVE = []
  include Aws::Structure
end

#lines_missedInteger

The number of lines that are not covered by your tests.

Returns:

  • (Integer)


1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-codebuild/types.rb', line 1388

class CodeCoverageReportSummary < Struct.new(
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed)
  SENSITIVE = []
  include Aws::Structure
end