Conditional Complexity Overall
  • There are 267 units with 3,654 lines of code in units (39.0% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (134 lines of code)
    • 10 medium complex units (574 lines of code)
    • 16 simple units (902 lines of code)
    • 240 very simple units (2,044 lines of code)
0% | 3% | 15% | 24% | 55%
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% | 3% | 15% | 24% | 55%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
nest_site0% | 3% | 15% | 24% | 55%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
134 28 2
124 24 2
61 21 1
39 19 2
36 17 1
72 15 2
30 13 2
76 12 1
32 12 1
57 12 3
47 11 4
21 10 1
52 10 1
30 10 1
36 10 1
8 9 1
33 9 1
61 8 2
32 8 1
17 8 1
18 7 1
45 7 2
17 7 3
480 7 4
17 7 2
18 6 2
17 6 3
11 5 1
10 5 2
29 5 3
10 4 2
10 4 2
10 4 2
10 4 2
10 4 2
10 4 1
8 4 1
22 4 2
23 4 1
18 4 1
21 4 1
15 4 1
7 4 1
22 4 5
12 4 2
14 4 1
9 4 1
14 3 2
6 3 1
10 3 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...