Home / Type/ TestedFunction Type — typescript-sdk Architecture

TestedFunction Type — typescript-sdk Architecture

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

Entity Profile

Source Code

src/models/TestedFunction.ts lines 21–64

export interface TestedFunction {
    /**
     * File path relative to repository root.
     * @type {string}
     * @memberof TestedFunction
     */
    file: string;
    /**
     * Name of the function or method.
     * @type {string}
     * @memberof TestedFunction
     */
    name: string;
    /**
     * Line number where the function is declared.
     * @type {number}
     * @memberof TestedFunction
     */
    line: number;
    /**
     * Type of code element.
     * @type {string}
     * @memberof TestedFunction
     */
    type: TestedFunctionTypeEnum;
    /**
     * Test files that cover this function (directly or transitively).
     * @type {Array<string>}
     * @memberof TestedFunction
     */
    testFiles: Array<string>;
    /**
     * Number of test functions that directly call this function.
     * @type {number}
     * @memberof TestedFunction
     */
    directTestCallers: number;
    /**
     * Number of test functions that transitively reach this function.
     * @type {number}
     * @memberof TestedFunction
     */
    transitiveTestCallers: number;
}

Analyze Your Own Codebase

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

Try Supermodel Free