parse-lcov
Version:
35 lines (34 loc) • 702 B
TypeScript
declare type LCOVStats = {
found: number;
hit: number;
};
export declare type FunctionsDetails = {
name: string;
line: number;
hit?: number;
};
export declare type BranchesDetails = {
line: number;
block: number;
branch: number;
taken: number;
};
export declare type LinesDetails = {
line: number;
hit: number;
};
export declare type LCOVRecord = {
title: string;
file: string;
functions: LCOVStats & {
details: FunctionsDetails[];
};
branches: LCOVStats & {
details: BranchesDetails[];
};
lines: LCOVStats & {
details: LinesDetails[];
};
};
export declare function newRecord(): LCOVRecord;
export {};