Class CodeCoverageReportSummary
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.CodeCoverageReportSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeCoverageReportSummary.Builder,CodeCoverageReportSummary>
@Generated("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
iforcasestatement.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodeCoverageReportSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublebranchCoveragePercentage()The percentage of branches that are covered by your tests.IntegerbranchesCovered()The number of conditional branches that are covered by your tests.IntegerbranchesMissed()The number of conditional branches that are not covered by your tests.static CodeCoverageReportSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublelineCoveragePercentage()The percentage of lines that are covered by your tests.IntegerlinesCovered()The number of lines that are covered by your tests.IntegerlinesMissed()The number of lines that are not covered by your tests.List<SdkField<?>>sdkFields()static Class<? extends CodeCoverageReportSummary.Builder>serializableBuilderClass()CodeCoverageReportSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
lineCoveragePercentage
public final Double lineCoveragePercentage()
The percentage of lines that are covered by your tests.
- Returns:
- The percentage of lines that are covered by your tests.
-
linesCovered
public final Integer linesCovered()
The number of lines that are covered by your tests.
- Returns:
- The number of lines that are covered by your tests.
-
linesMissed
public final Integer linesMissed()
The number of lines that are not covered by your tests.
- Returns:
- The number of lines that are not covered by your tests.
-
branchCoveragePercentage
public final Double branchCoveragePercentage()
The percentage of branches that are covered by your tests.
- Returns:
- The percentage of branches that are covered by your tests.
-
branchesCovered
public final Integer branchesCovered()
The number of conditional branches that are covered by your tests.
- Returns:
- The number of conditional branches that are covered by your tests.
-
branchesMissed
public final Integer branchesMissed()
The number of conditional branches that are not covered by your tests.
- Returns:
- The number of conditional branches that are not covered by your tests.
-
toBuilder
public CodeCoverageReportSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeCoverageReportSummary.Builder,CodeCoverageReportSummary>
-
builder
public static CodeCoverageReportSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeCoverageReportSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-