makeCandidate() — dead-code-hunter Function Reference
Architecture documentation for the makeCandidate() function in dead-code.test.ts from the dead-code-hunter codebase.
Entity Profile
Relationship Graph
Source Code
src/__tests__/dead-code.test.ts lines 6–16
function makeCandidate(overrides: Partial<DeadCodeCandidate> = {}): DeadCodeCandidate {
return {
file: 'src/utils.ts',
name: 'unusedFn',
line: 10,
type: 'function' as const,
confidence: 'high' as const,
reason: 'No callers found in codebase',
...overrides,
};
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free