jbloemendal / clue

code inspection instrument (prototype)
Other
1 stars 1 forks source link
complexity draft static-analysis

NAME clue -- code inspection instrument

SYNOPSIS clue [-h] [-f FILE] [-v] [-g] [-p] [-q] [-r] [-c]

DESCRIPTION Static code inspection instrument, analysing complexity of c-family syntax (C, C++, Java, ECMAScript, C#, etc.), construing source code from stdin.

optional arguments: -h, --help show this help message -f FILE, --file FILE read from file -v verify clue path -g control flow path conjecture, O(2n) -p clue path -q all sub paths, O(2^n) -r clue complexity, factors nested scopes, O(n^2) -c cyclomatic complexity, condition count, O(n)