File: test015.ref

package info (click to toggle)
pmccabe 2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 876 kB
  • sloc: ansic: 3,084; cpp: 1,080; sh: 401; makefile: 42
file content (38 lines) | stat: -rw-r--r-- 1,702 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
RUN: pmccabe -X -vt test015
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	3	test015(2): Spreadsheetns::ACosFormula::ACosFormula
3	3	3	6	5	test015(6): Spreadsheetns::ACosFormula::ACosFormula
3	3	3	12	6	test015(12): Spreadsheetns::ACosFormula::getResult
1	1	0	21	1	test015(21): foo::bar::bar
1	1	0	25	1	test015(25): foo::foo1::bar::bar
1	1	0	28	2	test015(28): foo::fff
1	1	0	32	1	test015(32): bar::bar
1	1	0	36	1	test015(36): anonymous_namespace::bar::bar
12	12	8	n/a	40	Total
RUN: pmccabe -X -vnt test015
   CSL PCT  NCSL PCT  TOTAL  FILENAME
     5  12    35  88     40  test015
     5  12    35  88     40  (total files: 1)
RUN: pmccabe -x -vt test015
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	3	test015(2): Spreadsheetns::ACosFormula::ACosFormula
3	3	3	6	5	test015(6): Spreadsheetns::ACosFormula::ACosFormula
3	3	3	12	6	test015(12): Spreadsheetns::ACosFormula::getResult
1	1	0	21	1	test015(21): foo::bar::bar
1	1	0	25	1	test015(25): foo::foo1::bar::bar
1	1	0	28	2	test015(28): foo::fff
1	1	0	32	1	test015(32): bar::bar
1	1	0	36	1	test015(36): anonymous_namespace::bar::bar
12	12	8	n/a	40	Total