Conditional Complexity Overall
  • There are 401 units with 5,645 lines of code in units (8.1% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (71 lines of code)
    • 7 medium complex units (481 lines of code)
    • 22 simple units (742 lines of code)
    • 371 very simple units (4,351 lines of code)
0% | 1% | 8% | 13% | 77%
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
ts0% | 1% | 4% | 13% | 80%
tsx0% | 0% | 15% | 14% | 69%
js0% | 0% | 22% | 0% | 77%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
shared0% | 20% | 0% | 12% | 67%
client0% | 0% | 9% | 11% | 79%
.storybook0% | 0% | 22% | 0% | 77%
server0% | 0% | 0% | 42% | 57%
cdk0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
cypress0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
71 26 1
99 19 0
46 15 1
46 15 1
40 13 1
158 13 4
58 11 2
34 11 1
25 10 1
58 10 2
31 10 1
25 10 6
22 10 6
28 9 1
28 9 1
95 9 0
75 8 1
78 8 1
18 8 1
25 8 1
20 7 5
32 7 0
35 6 2
20 6 3
13 6 1
26 6 2
29 6 0
22 6 1
18 6 1
19 6 1
59 5 1
16 5 2
30 5 3
17 5 1
60 5 0
134 4 3
8 4 3
22 4 1
14 4 1
35 4 2
15 4 2
36 4 5
25 4 5
6 4 1
12 4 1
14 4 1
8 4 1
12 4 2
16 4 2
17 4 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...