@Generated(value="software.amazon.awssdk:codegen") public final class CodeCoverage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeCoverage.Builder,CodeCoverage>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeCoverage.Builder |
| Modifier and Type | Method and Description |
|---|---|
Double |
branchCoveragePercentage()
The percentage of branches that are covered by your tests.
|
Integer |
branchesCovered()
The number of conditional branches that are covered by your tests.
|
Integer |
branchesMissed()
The number of conditional branches that are not covered by your tests.
|
static CodeCoverage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expired()
The date and time that the tests were run.
|
String |
filePath()
The path of the test report file.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the code coverage report.
|
Double |
lineCoveragePercentage()
The percentage of lines that are covered by your tests.
|
Integer |
linesCovered()
The number of lines that are covered by your tests.
|
Integer |
linesMissed()
The number of lines that are not covered by your tests.
|
String |
reportARN()
The ARN of the report.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeCoverage.Builder> |
serializableBuilderClass() |
CodeCoverage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the code coverage report.
public final String reportARN()
The ARN of the report.
public final String filePath()
The path of the test report file.
public final Double lineCoveragePercentage()
The percentage of lines that are covered by your tests.
public final Integer linesCovered()
The number of lines that are covered by your tests.
public final Integer linesMissed()
The number of lines that are not covered by your tests.
public final Double branchCoveragePercentage()
The percentage of branches that are covered by your tests.
public final Integer branchesCovered()
The number of conditional branches that are covered by your tests.
public final Integer branchesMissed()
The number of conditional branches that are not covered by your tests.
public final Instant expired()
The date and time that the tests were run.
public CodeCoverage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeCoverage.Builder,CodeCoverage>public static CodeCoverage.Builder builder()
public static Class<? extends CodeCoverage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.