Measure the churn/complexity score. Higher values mean hotspots where refactorings should happen.
npm install code-complexity
No README available