CodeCoverage
import type { CodeCoverage } from "https://aws-api.deno.dev/v0.3/services/codebuild.ts?docs=full";
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.
interface CodeCoverage {
branchCoveragePercentage?: number | null;
branchesCovered?: number | null;
branchesMissed?: number | null;
expired?: Date | number | null;
filePath?: string | null;
id?: string | null;
lineCoveragePercentage?: number | null;
linesCovered?: number | null;
linesMissed?: number | null;
reportARN?: string | null;
}§Properties
§
branchCoveragePercentage?: number | null
[src]The percentage of branches that are covered by your tests.
§
branchesCovered?: number | null
[src]The number of conditional branches that are covered by your tests.