Conditional Complexity Overall
  • There are 84 units with 1,680 lines of code in units (20.4% of code).
    • 2 very complex units (547 lines of code)
    • 0 complex units (0 lines of code)
    • 5 medium complex units (215 lines of code)
    • 12 simple units (289 lines of code)
    • 65 very simple units (629 lines of code)
32% | 0% | 12% | 17% | 37%
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
scala42% | 0% | 14% | 9% | 33%
pl0% | 0% | 12% | 29% | 57%
ts0% | 0% | 0% | 71% | 28%
tsx0% | 0% | 0% | 71% | 28%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
app42% | 0% | 14% | 9% | 33%
client_script0% | 0% | 12% | 29% | 57%
frontend0% | 0% | 0% | 62% | 37%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
351 104 0
196 56 1
31 19 0
52 17 1
59 15 2
43 14 1
30 11 2
15 9 0
24 9 1
63 9 1
47 8 0
17 8 2
19 8 1
23 8 1
9 8 1
12 7 0
9 6 2
24 6 3
27 6 1
26 5 0
17 5 1
20 5 1
27 5 1
16 5 2
9 4 0
16 4 1
16 4 1
13 4 1
11 3 0
6 3 0
10 3 0
14 3 0
19 3 0
6 3 0
6 3 0
13 3 4
14 3 2
11 3 2
9 3 1
16 3 0
7 3 1
15 3 1
19 3 1
9 3 1
10 3 2
11 3 1
14 3 1
17 3 2
8 2 0
6 2 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...