Conditional Complexity Overall
  • There are 6,061 units with 65,180 lines of code in units (46.5% of code).
    • 13 very complex units (3,236 lines of code)
    • 42 complex units (4,493 lines of code)
    • 243 medium complex units (13,099 lines of code)
    • 425 simple units (12,347 lines of code)
    • 5,338 very simple units (32,005 lines of code)
4% | 6% | 20% | 18% | 49%
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
hpp6% | 8% | 22% | 22% | 39%
c25% | 11% | 28% | 18% | 16%
cpp0% | 8% | 33% | 20% | 37%
h0% | 2% | 8% | 11% | 77%
cc0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
lib5% | 7% | 20% | 18% | 48%
experiments0% | 0% | 22% | 25% | 52%
tools0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
952 128 2
166 76 1
201 75 5
220 74 1
171 68 2
171 68 2
276 68 2
205 67 1
275 66 3
178 56 1
129 53 6
160 52 1
132 51 6
198 50 1
133 49 5
130 48 6
121 47 4
120 47 6
136 45 1
140 44 2
146 42 12
130 42 6
136 39 1
108 37 0
113 36 2
155 36 3
123 33 1
103 33 1
97 33 0
116 33 12
116 33 12
85 32 2
80 32 2
127 31 0
121 31 2
103 30 0
74 30 0
140 30 1
107 29 0
132 28 4
62 28 1
148 28 1
57 28 7
57 28 7
102 28 1
86 27 4
43 27 1
104 27 10
112 27 0
62 26 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...