Home / Type/ ClassificationStats Type — typescript-sdk Architecture

ClassificationStats Type — typescript-sdk Architecture

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

Entity Profile

Source Code

src/models/ClassificationStats.ts lines 21–100

export interface ClassificationStats {
    /**
     * Total number of nodes in the graph
     * @type {number}
     * @memberof ClassificationStats
     */
    nodeCount: number;
    /**
     * Total number of relationships in the graph
     * @type {number}
     * @memberof ClassificationStats
     */
    relationshipCount: number;
    /**
     * Count of nodes by type
     * @type {{ [key: string]: number; }}
     * @memberof ClassificationStats
     */
    nodeTypes: { [key: string]: number; };
    /**
     * Count of relationships by type
     * @type {{ [key: string]: number; }}
     * @memberof ClassificationStats
     */
    relationshipTypes: { [key: string]: number; };
    /**
     * Number of domains discovered
     * @type {number}
     * @memberof ClassificationStats
     */
    domainCount: number;
    /**
     * Number of subdomains discovered
     * @type {number}
     * @memberof ClassificationStats
     */
    subdomainCount: number;
    /**
     * Number of files assigned to domains/subdomains
     * @type {number}
     * @memberof ClassificationStats
     */
    assignedFileCount: number;
    /**
     * Number of functions assigned to domains/subdomains
     * @type {number}
     * @memberof ClassificationStats
     */
    assignedFunctionCount: number;
    /**
     * Number of classes assigned to domains/subdomains
     * @type {number}
     * @memberof ClassificationStats
     */
    assignedClassCount: number;
    /**
     * Count of file assignments
     * @type {number}
     * @memberof ClassificationStats
     */
    fileAssignments: number;
    /**
     * Count of function assignments
     * @type {number}
     * @memberof ClassificationStats
     */
    functionAssignments: number;
    /**
     * Count of unassigned functions
     * @type {number}
     * @memberof ClassificationStats
     */
    unassignedFunctions: number;
    /**
     * Count of class assignments
     * @type {number}
     * @memberof ClassificationStats
     */
    classAssignments: number;
}

Analyze Your Own Codebase

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

Try Supermodel Free