CodeCoverageReportSummary
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.
Contents
Note
In the following list, the required parameters are described first.
- branchCoveragePercentage
-
The percentage of branches that are covered by your tests.
Type: Double
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- branchesCovered
-
The number of conditional branches that are covered by your tests.
Type: Integer
Valid Range: Minimum value of 0.
Required: No
- branchesMissed
-
The number of conditional branches that are not covered by your tests.
Type: Integer
Valid Range: Minimum value of 0.
Required: No
- lineCoveragePercentage
-
The percentage of lines that are covered by your tests.
Type: Double
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- linesCovered
-
The number of lines that are covered by your tests.
Type: Integer
Valid Range: Minimum value of 0.
Required: No
- linesMissed
-
The number of lines that are not covered by your tests.
Type: Integer
Valid Range: Minimum value of 0.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: