Conditional Complexity Overall
  • There are 2,865 units with 20,062 lines of code in units (26.8% of code).
    • 1 very complex units (80 lines of code)
    • 3 complex units (303 lines of code)
    • 30 medium complex units (1,059 lines of code)
    • 87 simple units (1,461 lines of code)
    • 2,744 very simple units (17,159 lines of code)
<1% | 1% | 5% | 7% | 85%
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
py<1% | 1% | 5% | 7% | 85%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src<1% | 1% | 5% | 7% | 85%
scripts0% | 0% | 20% | 22% | 56%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
80 57 1
129 38 3
102 38 2
72 38 4
44 21 2
42 20 2
45 20 4
52 19 2
21 17 3
19 16 6
43 16 1
90 16 3
42 16 1
32 15 5
40 14 2
39 14 1
37 14 1
45 13 1
24 13 0
24 13 2
33 12 1
23 12 0
33 12 2
33 12 2
12 12 3
19 12 1
36 12 1
14 12 3
75 12 5
19 11 3
37 11 1
24 11 4
29 11 3
33 11 2
12 10 3
27 10 1
23 10 1
21 10 1
48 10 1
20 9 4
18 9 18
18 9 18
19 9 1
22 9 2
10 9 2
16 9 2
22 9 4
17 9 2
32 9 1
17 9 5
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...