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
|
RUN: pmccabe -X -vt test002
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 1 1 1 test002(1): class1::class2::class3::member
1 1 1 3 1 test002(3): class1::class2::operator+=
1 1 1 5 1 test002(5): class4::operator+=
3 3 6 n/a 5 Total
RUN: pmccabe -X -vnt test002
CSL PCT NCSL PCT TOTAL FILENAME
2 40 3 60 5 test002
2 40 3 60 5 (total files: 1)
RUN: pmccabe -x -vt test002
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 1 1 1 test002(1): class1::class2::class3::member
1 1 1 3 1 test002(3): class1::class2::operator+=
1 1 1 5 1 test002(5): class4::operator+=
3 3 6 n/a 5 Total
|