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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/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)


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1430

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)


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1430

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)


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1430

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)


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1430

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)


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1430

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)


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1430

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