DeadCodeCandidate Type — typescript-sdk Architecture
Architecture documentation for the DeadCodeCandidate type/interface in DeadCodeCandidate.ts from the typescript-sdk codebase.
Entity Profile
Source Code
src/models/DeadCodeCandidate.ts lines 21–58
export interface DeadCodeCandidate {
/**
* File path relative to repository root.
* @type {string}
* @memberof DeadCodeCandidate
*/
file: string;
/**
* Name of the function, class, or method.
* @type {string}
* @memberof DeadCodeCandidate
*/
name: string;
/**
* Line number where the declaration starts.
* @type {number}
* @memberof DeadCodeCandidate
*/
line: number;
/**
* Type of code element.
* @type {string}
* @memberof DeadCodeCandidate
*/
type: DeadCodeCandidateTypeEnum;
/**
* Confidence level of dead code detection.
* @type {string}
* @memberof DeadCodeCandidate
*/
confidence: DeadCodeCandidateConfidenceEnum;
/**
* Explanation of why this was flagged as dead code.
* @type {string}
* @memberof DeadCodeCandidate
*/
reason: string;
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free