Conditional Complexity Overall
  • There are 1,428 units with 22,211 lines of code in units (28.4% of code).
    • 3 very complex units (652 lines of code)
    • 21 complex units (2,431 lines of code)
    • 131 medium complex units (5,661 lines of code)
    • 173 simple units (4,223 lines of code)
    • 1,100 very simple units (9,244 lines of code)
2% | 10% | 25% | 19% | 41%
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
ts3% | 11% | 25% | 17% | 42%
cjs0% | 0% | 48% | 20% | 31%
py0% | 0% | 15% | 48% | 35%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src2% | 12% | 25% | 18% | 41%
scripts11% | 0% | 26% | 22% | 39%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
250 91 4
240 67 1
162 58 2
185 50 4
142 48 4
95 46 1
113 43 1
125 41 3
161 39 2
89 38 4
126 37 3
72 36 1
145 34 3
61 30 0
140 30 1
140 30 1
74 30 3
63 29 4
122 29 1
73 27 2
118 27 1
118 27 1
118 27 1
151 26 2
72 25 5
67 23 0
67 23 0
67 23 0
112 22 1
44 22 1
53 21 1
44 20 2
77 20 1
57 19 3
82 19 1
74 19 2
58 19 1
42 19 2
16 18 4
58 18 0
40 18 1
44 18 1
54 18 1
52 18 3
38 17 3
45 17 1
94 17 1
21 17 2
42 17 3
70 17 2
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...