Cognitive Complexity code metric for D
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
cōgitō analyses D code and calculates its [cognitive complexity].
Installing and usage
./make.rb install release.
It will download and install the frontend and build a binary. Then you can run it on some D source:
sample/sample.d: f: Location (line): 3 Score: 4
- Registered by Eugene Wissner
- 1.1.0 released 7 months ago