@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeCoverageReportSummary extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
CodeCoverageReportSummary() |
Modifier and Type | Method and Description |
---|---|
CodeCoverageReportSummary |
clone() |
boolean |
equals(Object obj) |
Double |
getBranchCoveragePercentage()
The percentage of branches that are covered by your tests.
|
Integer |
getBranchesCovered()
The number of conditional branches that are covered by your tests.
|
Integer |
getBranchesMissed()
The number of conditional branches that are not covered by your tests.
|
Double |
getLineCoveragePercentage()
The percentage of lines that are covered by your tests.
|
Integer |
getLinesCovered()
The number of lines that are covered by your tests.
|
Integer |
getLinesMissed()
The number of lines that are not covered by your tests.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranchCoveragePercentage(Double branchCoveragePercentage)
The percentage of branches that are covered by your tests.
|
void |
setBranchesCovered(Integer branchesCovered)
The number of conditional branches that are covered by your tests.
|
void |
setBranchesMissed(Integer branchesMissed)
The number of conditional branches that are not covered by your tests.
|
void |
setLineCoveragePercentage(Double lineCoveragePercentage)
The percentage of lines that are covered by your tests.
|
void |
setLinesCovered(Integer linesCovered)
The number of lines that are covered by your tests.
|
void |
setLinesMissed(Integer linesMissed)
The number of lines that are not covered by your tests.
|
String |
toString()
Returns a string representation of this object.
|
CodeCoverageReportSummary |
withBranchCoveragePercentage(Double branchCoveragePercentage)
The percentage of branches that are covered by your tests.
|
CodeCoverageReportSummary |
withBranchesCovered(Integer branchesCovered)
The number of conditional branches that are covered by your tests.
|
CodeCoverageReportSummary |
withBranchesMissed(Integer branchesMissed)
The number of conditional branches that are not covered by your tests.
|
CodeCoverageReportSummary |
withLineCoveragePercentage(Double lineCoveragePercentage)
The percentage of lines that are covered by your tests.
|
CodeCoverageReportSummary |
withLinesCovered(Integer linesCovered)
The number of lines that are covered by your tests.
|
CodeCoverageReportSummary |
withLinesMissed(Integer linesMissed)
The number of lines that are not covered by your tests.
|
public void setLineCoveragePercentage(Double lineCoveragePercentage)
The percentage of lines that are covered by your tests.
lineCoveragePercentage
- The percentage of lines that are covered by your tests.public Double getLineCoveragePercentage()
The percentage of lines that are covered by your tests.
public CodeCoverageReportSummary withLineCoveragePercentage(Double lineCoveragePercentage)
The percentage of lines that are covered by your tests.
lineCoveragePercentage
- The percentage of lines that are covered by your tests.public void setLinesCovered(Integer linesCovered)
The number of lines that are covered by your tests.
linesCovered
- The number of lines that are covered by your tests.public Integer getLinesCovered()
The number of lines that are covered by your tests.
public CodeCoverageReportSummary withLinesCovered(Integer linesCovered)
The number of lines that are covered by your tests.
linesCovered
- The number of lines that are covered by your tests.public void setLinesMissed(Integer linesMissed)
The number of lines that are not covered by your tests.
linesMissed
- The number of lines that are not covered by your tests.public Integer getLinesMissed()
The number of lines that are not covered by your tests.
public CodeCoverageReportSummary withLinesMissed(Integer linesMissed)
The number of lines that are not covered by your tests.
linesMissed
- The number of lines that are not covered by your tests.public void setBranchCoveragePercentage(Double branchCoveragePercentage)
The percentage of branches that are covered by your tests.
branchCoveragePercentage
- The percentage of branches that are covered by your tests.public Double getBranchCoveragePercentage()
The percentage of branches that are covered by your tests.
public CodeCoverageReportSummary withBranchCoveragePercentage(Double branchCoveragePercentage)
The percentage of branches that are covered by your tests.
branchCoveragePercentage
- The percentage of branches that are covered by your tests.public void setBranchesCovered(Integer branchesCovered)
The number of conditional branches that are covered by your tests.
branchesCovered
- The number of conditional branches that are covered by your tests.public Integer getBranchesCovered()
The number of conditional branches that are covered by your tests.
public CodeCoverageReportSummary withBranchesCovered(Integer branchesCovered)
The number of conditional branches that are covered by your tests.
branchesCovered
- The number of conditional branches that are covered by your tests.public void setBranchesMissed(Integer branchesMissed)
The number of conditional branches that are not covered by your tests.
branchesMissed
- The number of conditional branches that are not covered by your tests.public Integer getBranchesMissed()
The number of conditional branches that are not covered by your tests.
public CodeCoverageReportSummary withBranchesMissed(Integer branchesMissed)
The number of conditional branches that are not covered by your tests.
branchesMissed
- The number of conditional branches that are not covered by your tests.public String toString()
toString
in class Object
Object.toString()
public CodeCoverageReportSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.