1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
RUN: pmccabe -X -vt test018
Modified McCabe Cyclomatic Complexity
| Traditional McCabe Cyclomatic Complexity
| | # Statements in function
| | | First line of function
| | | | # lines in function
| | | | | filename(definition line number):function
| | | | | |
1 1 0 5 1 test018(5): foo
1 1 1 n/a 5 Total
RUN: pmccabe -X -vnt test018
CSL PCT NCSL PCT TOTAL FILENAME
2 40 3 60 5 test018
2 40 3 60 5 (total files: 1)
RUN: pmccabe -x -vt test018
Modified McCabe Cyclomatic Complexity
| Traditional McCabe Cyclomatic Complexity
| | # Statements in function
| | | First line of function
| | | | # lines in function
| | | | | filename(definition line number):function
| | | | | |
1 1 0 2 4 test018(5): foo
1 1 1 n/a 5 Total
"test018", line 3: too many )'s
|