cogito 1.0.0

Cognitive Complexity code metric for D


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

CI License

cōgitō

cōgitō analyses D code and calculates its cognitive complexity.

Installing and usage

Run ./make.rb install release.

It will download and install the frontend and build a binary. Then you can run it on some D source:

Run ./build/cogito sample/sample.d.

Example output

sample/sample.d:
  f:
    Location (line): 3
    Score: 4
Authors:
  • Eugen Wissner
Dependencies:
none
Versions:
1.7.0 2023-May-16
1.6.0 2023-Mar-15
1.5.0 2023-Mar-09
1.4.1 2023-Mar-08
1.4.0 2022-Jun-10
Show all 14 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 3 downloads this month

  • 25 downloads total

Score:
0.0
Short URL:
cogito.dub.pm