UNPKG

code-complexity

Version:

Measure the churn/complexity score. Higher values mean hotspots where refactorings should happen.

10 lines (9 loc) 296 B
import { Options, Path } from "../types"; export default class Complexity { readonly path: Path; readonly complexity: number; static compute(path: Path, options: Options): Promise<Complexity>; private constructor(); private static computeComplexity; getValue(): number; }