@Generated(value="software.amazon.awssdk:codegen") public final class CodeCoverageReportSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeCoverageReportSummary.Builder,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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeCoverageReportSummary.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 CodeCoverageReportSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeCoverageReportSummary.Builder> |
serializableBuilderClass() |
CodeCoverageReportSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 CodeCoverageReportSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeCoverageReportSummary.Builder,CodeCoverageReportSummary>public static CodeCoverageReportSummary.Builder builder()
public static Class<? extends CodeCoverageReportSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.