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 26 27 28 29 30
|
RUN: pmccabe -X -vt test007
Modified McCabe Cyclomatic Complexity
| Traditional McCabe Cyclomatic Complexity
| | # Statements in function
| | | First line of function
| | | | # lines in function
| | | | | filename(definition line number):function
| | | | | |
5 5 10 1 8 test007(1): a
5 5 10 9 8 test007(9): a
5 5 10 17 8 test007(17): a
5 5 10 25 8 test007(25): a
20 20 44 n/a 32 Total
RUN: pmccabe -X -vnt test007
CSL PCT NCSL PCT TOTAL FILENAME
0 0 32 100 32 test007
0 0 32 100 32 (total files: 1)
RUN: pmccabe -x -vt test007
Modified McCabe Cyclomatic Complexity
| Traditional McCabe Cyclomatic Complexity
| | # Statements in function
| | | First line of function
| | | | # lines in function
| | | | | filename(definition line number):function
| | | | | |
5 5 10 1 8 test007(1): a
5 5 10 9 8 test007(9): a
5 5 10 17 8 test007(17): a
5 5 10 25 8 test007(25): a
20 20 44 n/a 32 Total
|