code-complexity
code-complexity copied to clipboard
Measure the churn/complexity ratio. Higher values mean hotspots where refactorings should happen.
Created built-in support for SLOC, Cyclomatic & Halstead complexity support with new CLI param complexity-strategy.
#### What problem are you trying to solve? We're currently measuring complexity based on `sloc`. It's nice but a long file doesn't always mean it's complex. #### Describe the feature...
#### What problem are you trying to solve? Not really a feature but we depend on `node-sloc` to count file complexity. Which is far from being popular and is at...
#### What problem are you trying to solve? We're currently outputting either a table or a json. A cool way to visualize the complexity/churn ratio would be a graph of...
Node version: latest but tried in some earlier ones. `npx code-complexity . --since 6.month --limit 8 --sort score` ``` node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'esprima' Require stack:...
In WSL it works like a charm, but in Windows I get the `Error: Program 'git' must be installed` error, because `'which' is not recognized as an internal or external...
Hello, how're you? Thanks for such a great project first of all! 😄 I have a question, it seems like the glob I'm passing as a parameter isn't working, I...
When I run 4.0.0 using the example from the readme, `npx` then it fails with ``` Error: Cannot find module 'esprima' ``` Installing with `npm install code-complexity` also does not...
This supports decorators in NestJS library
Running `npx code-complexity . -cs halstead` returns the error `Error: Cannot find module '@babel/plugin-transform-typescript'` **Error** ```bash $ npx code-complexity . -cs halstead Beware, the 'halstead' and 'cyclomatic' strategies are only...