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 test021
Modified McCabe Cyclomatic Complexity
| Traditional McCabe Cyclomatic Complexity
| | # Statements in function
| | | First line of function
| | | | # lines in function
| | | | | filename(definition line number):function
| | | | | |
4 4 4 14 24 test021(14): total_lack_of_modularity
4 4 5 n/a 41 Total
RUN: pmccabe -X -vnt test021
CSL PCT NCSL PCT TOTAL FILENAME
12 29 29 71 41 test021
12 29 29 71 41 (total files: 1)
RUN: pmccabe -x -vt test021
Modified McCabe Cyclomatic Complexity
| Traditional McCabe Cyclomatic Complexity
| | # Statements in function
| | | First line of function
| | | | # lines in function
| | | | | filename(definition line number):function
| | | | | |
7 7 7 14 24 test021(14): XXX::total_lack_of_modularity
7 7 8 n/a 41 Total
"test021", line 42: expected closing } for namespace, but got EOF
|