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

Class: Aws::CodeBuild::Types::CodeCoverage

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

Overview

Contains code coverage report information.

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.

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.

#expiredTime

The date and time that the tests were run.

Returns:

  • (Time)

    The date and time that the tests were run.

#file_pathString

The path of the test report file.

Returns:

  • (String)

    The path of the test report file.

#idString

The identifier of the code coverage report.

Returns:

  • (String)

    The identifier of the code coverage report.

#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.

#report_arnString

The ARN of the report.

Returns:

  • (String)

    The ARN of the report.