Conditional Complexity Overall
  • There are 473 units with 4,940 lines of code in units (27.9% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (146 lines of code)
    • 10 medium complex units (437 lines of code)
    • 25 simple units (703 lines of code)
    • 437 very simple units (3,654 lines of code)
0% | 2% | 8% | 14% | 73%
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
js0% | 12% | 19% | 24% | 43%
py0% | 0% | 5% | 11% | 83%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
live-api0% | 2% | 8% | 14% | 73%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
146 43 1
32 19 1
59 18 0
39 18 2
36 18 6
53 17 2
33 15 2
55 15 1
40 12 1
57 12 1
33 11 1
28 10 1
28 9 0
128 8 0
24 8 0
48 8 1
17 8 0
28 7 1
45 7 1
57 7 1
19 7 2
8 7 2
32 7 1
27 7 4
30 7 1
28 6 0
14 6 0
30 6 1
10 6 2
10 6 1
10 6 1
23 6 1
13 6 1
13 6 2
14 6 1
19 6 0
21 5 1
17 5 1
12 5 0
12 5 0
7 5 2
18 5 1
13 5 3
28 5 2
17 5 1
21 5 3
48 5 1
10 5 1
19 5 2
8 5 1
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...