Conditional Complexity Overall
  • There are 136 units with 2,095 lines of code in units (61.0% of code).
    • 0 very complex units (0 lines of code)
    • 3 complex units (257 lines of code)
    • 17 medium complex units (659 lines of code)
    • 25 simple units (500 lines of code)
    • 91 very simple units (679 lines of code)
0% | 12% | 31% | 23% | 32%
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
py0% | 12% | 31% | 23% | 32%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ROOT0% | 12% | 31% | 23% | 32%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
32 30 0
77 27 5
148 26 0
45 20 2
75 19 2
40 19 5
58 18 2
39 18 4
35 18 5
48 16 4
21 15 6
43 15 6
36 14 2
29 13 2
38 12 2
26 11 5
25 11 3
30 11 8
28 11 3
43 11 2
11 10 1
26 10 4
37 10 6
13 9 3
19 9 1
14 8 4
15 8 1
39 7 8
61 7 10
14 7 4
15 7 2
22 7 6
22 7 3
20 7 3
9 7 6
8 6 1
11 6 2
8 6 2
17 6 3
21 6 4
5 6 1
15 6 1
22 6 2
13 6 3
43 6 0
10 5 2
9 5 4
18 5 0
15 5 2
12 5 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...