Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
branchesMissed?: number | null
[src]

The number of conditional branches that are not covered by your tests.

§
expired?: Date | number | null
[src]

The date and time that the tests were run.

§
filePath?: string | null
[src]

The path of the test report file.

§
id?: string | null
[src]

The identifier of the code coverage report.

§
lineCoveragePercentage?: number | null
[src]

The percentage of lines that are covered by your tests.

§
linesCovered?: number | null
[src]

The number of lines that are covered by your tests.

§
linesMissed?: number | null
[src]

The number of lines that are not covered by your tests.

§
reportARN?: string | null
[src]

The ARN of the report.