Home / Function/ makeMetadata() — dead-code-hunter Function Reference

makeMetadata() — dead-code-hunter Function Reference

Architecture documentation for the makeMetadata() 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 18–26

function makeMetadata(overrides: Partial<DeadCodeMetadata> = {}): DeadCodeMetadata {
  return {
    totalDeclarations: 100,
    deadCodeCandidates: 5,
    aliveCode: 95,
    analysisMethod: 'parse_graph + call_graph',
    ...overrides,
  };
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free