UNPKG

code-complexity

Version:

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

10 lines (9 loc) 343 B
import { Options, Path } from "../types"; import Complexity from "./complexity"; export default class Complexities { private readonly complexityByPath; static computeFor(paths: Path[], options: Options): Promise<Complexities>; getByPath(path: Path): Complexity; private constructor(); private computeComplexitiesPerPath; }