Home / Type/ TestCoverageMapMetadata Type — typescript-sdk Architecture

TestCoverageMapMetadata Type — typescript-sdk Architecture

Architecture documentation for the TestCoverageMapMetadata type/interface in TestCoverageMapMetadata.ts from the typescript-sdk codebase.

Entity Profile

Source Code

src/models/TestCoverageMapMetadata.ts lines 21–82

export interface TestCoverageMapMetadata {
    /**
     * Total number of files in the repository.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    totalFiles: number;
    /**
     * Number of files identified as test files.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    testFiles: number;
    /**
     * Number of non-test (production) files.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    productionFiles: number;
    /**
     * Total number of functions in production files.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    totalFunctions: number;
    /**
     * Number of production functions reachable from test functions.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    testedFunctions: number;
    /**
     * Number of production functions not reachable from any test function.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    untestedFunctions: number;
    /**
     * Percentage of production functions with test coverage.
     * @type {number}
     * @memberof TestCoverageMapMetadata
     */
    coveragePercentage: number;
    /**
     * Method used for analysis.
     * @type {string}
     * @memberof TestCoverageMapMetadata
     */
    analysisMethod: string;
    /**
     * Timestamp when analysis started.
     * @type {Date}
     * @memberof TestCoverageMapMetadata
     */
    analysisStartTime?: Date;
    /**
     * Timestamp when analysis completed.
     * @type {Date}
     * @memberof TestCoverageMapMetadata
     */
    analysisEndTime?: Date;
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free