Conditional Complexity Overall
  • There are 497 units with 5,607 lines of code in units (62.7% of code).
    • 3 very complex units (755 lines of code)
    • 3 complex units (208 lines of code)
    • 20 medium complex units (694 lines of code)
    • 50 simple units (1,050 lines of code)
    • 421 very simple units (2,900 lines of code)
13% | 3% | 12% | 18% | 51%
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
py13% | 3% | 12% | 18% | 51%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src13% | 3% | 12% | 18% | 51%
scripts0% | 0% | 0% | 53% | 46%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
401 93 1
213 80 12
141 59 4
89 28 6
71 27 8
48 27 8
43 24 2
114 22 2
36 18 3
48 17 2
27 16 1
20 15 7
41 14 10
22 14 4
20 13 1
58 13 6
22 12 1
18 12 2
35 12 2
22 12 4
24 12 3
22 11 1
64 11 3
21 11 2
20 11 2
17 11 5
17 10 4
23 10 5
16 10 0
27 10 2
10 9 3
37 9 7
24 9 3
20 9 4
22 9 6
46 9 5
35 9 2
45 8 1
13 8 1
44 8 5
11 8 5
32 8 9
12 8 3
42 8 2
21 8 3
31 8 2
10 8 4
44 7 0
3 7 3
26 7 6
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...