UNPKG

code-complexity

Version:

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

13 lines (12 loc) 401 B
import { History } from "../githistory/githistory"; import { Options, Path } from "../types"; import Churn from "./churn"; export default class Churns { private readonly churnByPath; private readonly options; static from(history: History, options: Options): Churns; private constructor(); get files(): Path[]; getByPath(path: Path): Churn; private computeChurnsPerFiles; }