Measure the churn/complexity score. Higher values mean hotspots where refactorings should happen.
ESLintCC is a ECMAScript/JavaScript tool that computes complexity of code by using ESLint
Enforce a visual complexity of the code
Eslint config for adding codecomplexity constraints to code linting.
This program analyses TypeScript and JavaScript code according to the [Cognitive Complexity metric](https://www.sonarsource.com/docs/CognitiveComplexity.pdf). It produces a JSON summary and a GUI for exploring the complexity of your codebase.