File: test005.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 (56 lines) | stat: -rw-r--r-- 2,468 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
RUN: pmccabe -X -vt test005
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	22	1	test005(22): TypedValue::HasValue
1	1	1	23	1	test005(23): TypedValue::HasValue
1	1	1	24	1	test005(24): TypedValue::ResetValue
1	1	2	25	1	test005(25): TypedValue::ResetValuePtr
2	2	3	27	2	test005(27): TypedValue::Value
2	2	3	29	2	test005(29): TypedValue::ValueRef
1	1	3	31	2	test005(31): TypedValue::Value
1	1	3	34	1	test005(34): TypedValue::TypedValue
1	1	3	37	2	test005(37): TypedValue::TypedValue
1	1	2	39	1	test005(39): TypedValue::TypedValue
1	1	0	41	1	test005(41): TypedValue::DestroyValue
1	1	1	44	2	test005(45): TypedValue::HasType
1	1	1	46	1	test005(46): TypedValue::Type
1	1	1	49	1	test005(49): TypedValue::TypePtr
1	1	1	50	1	test005(50): TypedValue::TypePtr
1	1	1	58	1	test005(58): TypedValue::Assign
2	2	3	63	4	test005(65): TypedValue::print_type
20	20	31	n/a	103	Total
RUN: pmccabe -X -vnt test005
   CSL PCT  NCSL PCT  TOTAL  FILENAME
    32  31    71  69    103  test005
    32  31    71  69    103  (total files: 1)
RUN: pmccabe -x -vt test005
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	22	1	test005(22): TypedValue::HasValue
1	1	1	23	1	test005(23): TypedValue::HasValue
1	1	1	24	1	test005(24): TypedValue::ResetValue
1	1	2	25	1	test005(25): TypedValue::ResetValuePtr
2	2	3	27	2	test005(27): TypedValue::Value
2	2	3	29	2	test005(29): TypedValue::ValueRef
1	1	3	31	2	test005(31): TypedValue::Value
1	1	3	34	1	test005(34): TypedValue::TypedValue
1	1	3	37	2	test005(37): TypedValue::TypedValue
1	1	2	39	1	test005(39): TypedValue::TypedValue
1	1	0	41	1	test005(41): TypedValue::DestroyValue
1	1	1	44	2	test005(45): TypedValue::HasType
1	1	1	46	1	test005(46): TypedValue::Type
1	1	1	49	1	test005(49): TypedValue::TypePtr
1	1	1	50	1	test005(50): TypedValue::TypePtr
1	1	1	58	1	test005(58): TypedValue::Assign
2	2	3	63	4	test005(65): TypedValue::print_type
20	20	31	n/a	103	Total