You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#branch_coverage_percentageFloat

The percentage of branches that are covered by your tests.

Returns:

  • (Float)

    The percentage of branches that are covered by your tests.

#branches_coveredInteger

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

Returns:

  • (Integer)

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

#branches_missedInteger

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

Returns:

  • (Integer)

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

#line_coverage_percentageFloat

The percentage of lines that are covered by your tests.

Returns:

  • (Float)

    The percentage of lines that are covered by your tests.

#lines_coveredInteger

The number of lines that are covered by your tests.

Returns:

  • (Integer)

    The number of lines that are covered by your tests.

#lines_missedInteger

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

Returns:

  • (Integer)

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