CodeCoverageReportSummary is a JSON Structure definition published by Amazon CodeBuild, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-code-coverage-report-summary-structure.json",
"name": "CodeCoverageReportSummary",
"description": "<p>Contains a summary of a code coverage report.</p> <p>Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.</p> <p>Branch coverage determines if your tests cover every possible branch of a control structure, such as an <code>if</code> or <code>case</code> statement.</p>",
"type": "object",
"properties": {
"lineCoveragePercentage": {
"allOf": [
{
"$ref": "#/components/schemas/Percentage"
},
{
"description": "The percentage of lines that are covered by your tests."
}
]
},
"linesCovered": {
"allOf": [
{
"$ref": "#/components/schemas/NonNegativeInt"
},
{
"description": "The number of lines that are covered by your tests."
}
]
},
"linesMissed": {
"allOf": [
{
"$ref": "#/components/schemas/NonNegativeInt"
},
{
"description": "The number of lines that are not covered by your tests."
}
]
},
"branchCoveragePercentage": {
"allOf": [
{
"$ref": "#/components/schemas/Percentage"
},
{
"description": "The percentage of branches that are covered by your tests."
}
]
},
"branchesCovered": {
"allOf": [
{
"$ref": "#/components/schemas/NonNegativeInt"
},
{
"description": "The number of conditional branches that are covered by your tests."
}
]
},
"branchesMissed": {
"allOf": [
{
"$ref": "#/components/schemas/NonNegativeInt"
},
{
"description": "The number of conditional branches that are not covered by your tests."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.