Conditional Complexity Overall
  • There are 341 units with 2,102 lines of code in units (80.2% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (98 lines of code)
    • 9 medium complex units (310 lines of code)
    • 25 simple units (429 lines of code)
    • 306 very simple units (1,265 lines of code)
0% | 4% | 14% | 20% | 60%
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% | 4% | 14% | 20% | 60%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pygenie0% | 4% | 14% | 20% | 60%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
98 26 12
54 25 11
56 21 1
42 16 1
34 13 6
32 13 4
19 12 1
18 11 2
34 11 1
21 11 6
29 10 1
26 10 1
24 10 2
20 9 1
27 9 4
19 8 3
19 8 3
22 8 5
10 7 3
20 7 3
12 7 1
19 7 1
9 7 1
10 7 1
12 6 2
18 6 3
17 6 3
16 6 3
16 6 5
6 6 2
18 6 1
23 6 1
15 6 5
11 6 3
11 6 3
7 5 1
16 5 2
20 5 1
11 5 4
11 5 1
11 5 1
10 5 4
9 5 2
8 5 1
26 5 5
16 4 2
10 4 2
12 4 2
10 4 1
5 4 0
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...