Conditional Complexity Overall
  • There are 773 units with 11,969 lines of code in units (74.3% of code).
    • 0 very complex units (0 lines of code)
    • 6 complex units (715 lines of code)
    • 40 medium complex units (2,609 lines of code)
    • 88 simple units (2,818 lines of code)
    • 639 very simple units (5,827 lines of code)
0% | 5% | 21% | 23% | 48%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go0% | 5% | 21% | 23% | 48%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
internal0% | 7% | 25% | 25% | 42%
pkg0% | 0% | 3% | 18% | 78%
rpc0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
155 42 1
134 37 1
93 32 1
106 31 1
110 31 2
117 28 1
106 22 2
104 21 2
66 21 1
98 20 1
74 20 1
81 20 1
81 18 1
80 18 2
56 17 1
73 16 2
61 16 1
74 15 1
57 15 1
46 15 3
73 15 2
92 15 2
49 15 1
89 15 1
95 14 1
81 14 1
81 14 1
61 14 2
39 14 1
57 13 1
56 13 1
85 13 1
70 13 1
18 12 1
43 12 1
43 12 1
51 12 1
51 12 2
87 12 2
71 12 2
50 12 2
50 12 2
41 11 2
28 11 3
47 11 1
44 11 1
39 10 1
37 10 2
54 10 1
48 10 1
About This Analysis
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...