code-complexity
Version:
Measure the churn/complexity score. Higher values mean hotspots where refactorings should happen.
10 lines (9 loc) • 343 B
TypeScript
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;
}