Conditional Complexity Overall
  • There are 735 units with 18,168 lines of code in units (69.1% of code).
    • 6 very complex units (3,358 lines of code)
    • 11 complex units (1,201 lines of code)
    • 60 medium complex units (3,784 lines of code)
    • 80 simple units (2,710 lines of code)
    • 578 very simple units (7,115 lines of code)
18% | 6% | 20% | 14% | 39%
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
c18% | 6% | 20% | 14% | 38%
py0% | 0% | 0% | 20% | 79%
h0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src18% | 6% | 20% | 14% | 39%
contrib0% | 0% | 52% | 12% | 35%
scripts0% | 0% | 0% | 20% | 79%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1549 364 2
511 138 2
433 104 2
349 91 2
315 75 1
201 53 2
84 50 2
56 49 1
180 45 2
189 45 3
135 32 1
98 31 3
119 31 3
98 29 1
115 29 2
94 28 1
33 26 1
116 24 2
30 23 1
66 22 10
29 22 1
135 22 4
73 20 2
70 20 3
106 20 5
98 20 2
101 20 4
80 20 3
86 19 1
77 18 3
99 18 7
82 18 3
71 17 4
53 17 4
48 17 2
62 17 1
73 17 2
63 17 2
46 16 2
41 16 3
68 16 2
22 15 1
70 15 2
50 15 2
82 15 3
96 15 4
38 15 3
73 15 1
77 14 5
64 14 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...