@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeCoverage extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
CodeCoverage() |
Modifier and Type | Method and Description |
---|---|
CodeCoverage |
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.
|
Date |
getExpired()
The date and time that the tests were run.
|
String |
getFilePath()
The path of the test report file.
|
String |
getId()
The identifier of the code coverage report.
|
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.
|
String |
getReportARN()
The ARN of the report.
|
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 |
setExpired(Date expired)
The date and time that the tests were run.
|
void |
setFilePath(String filePath)
The path of the test report file.
|
void |
setId(String id)
The identifier of the code coverage report.
|
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.
|
void |
setReportARN(String reportARN)
The ARN of the report.
|
String |
toString()
Returns a string representation of this object.
|
CodeCoverage |
withBranchCoveragePercentage(Double branchCoveragePercentage)
The percentage of branches that are covered by your tests.
|
CodeCoverage |
withBranchesCovered(Integer branchesCovered)
The number of conditional branches that are covered by your tests.
|
CodeCoverage |
withBranchesMissed(Integer branchesMissed)
The number of conditional branches that are not covered by your tests.
|
CodeCoverage |
withExpired(Date expired)
The date and time that the tests were run.
|
CodeCoverage |
withFilePath(String filePath)
The path of the test report file.
|
CodeCoverage |
withId(String id)
The identifier of the code coverage report.
|
CodeCoverage |
withLineCoveragePercentage(Double lineCoveragePercentage)
The percentage of lines that are covered by your tests.
|
CodeCoverage |
withLinesCovered(Integer linesCovered)
The number of lines that are covered by your tests.
|
CodeCoverage |
withLinesMissed(Integer linesMissed)
The number of lines that are not covered by your tests.
|
CodeCoverage |
withReportARN(String reportARN)
The ARN of the report.
|
public void setId(String id)
The identifier of the code coverage report.
id
- The identifier of the code coverage report.public String getId()
The identifier of the code coverage report.
public CodeCoverage withId(String id)
The identifier of the code coverage report.
id
- The identifier of the code coverage report.public void setReportARN(String reportARN)
The ARN of the report.
reportARN
- The ARN of the report.public String getReportARN()
The ARN of the report.
public CodeCoverage withReportARN(String reportARN)
The ARN of the report.
reportARN
- The ARN of the report.public void setFilePath(String filePath)
The path of the test report file.
filePath
- The path of the test report file.public String getFilePath()
The path of the test report file.
public CodeCoverage withFilePath(String filePath)
The path of the test report file.
filePath
- The path of the test report file.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 CodeCoverage 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 CodeCoverage 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 CodeCoverage 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 CodeCoverage 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 CodeCoverage 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 CodeCoverage 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 void setExpired(Date expired)
The date and time that the tests were run.
expired
- The date and time that the tests were run.public Date getExpired()
The date and time that the tests were run.
public CodeCoverage withExpired(Date expired)
The date and time that the tests were run.
expired
- The date and time that the tests were run.public String toString()
toString
in class Object
Object.toString()
public CodeCoverage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.