Conditional Complexity Overall
  • There are 221 units with 2,800 lines of code in units (18.9% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 4 medium complex units (297 lines of code)
    • 20 simple units (608 lines of code)
    • 197 very simple units (1,895 lines of code)
0% | 0% | 10% | 21% | 67%
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% | 0% | 10% | 21% | 67%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 0% | 10% | 22% | 66%
ROOT0% | 0% | 0% | 0% | 100%
.storybook0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
80 16 7
109 15 2
46 11 0
62 11 7
26 10 1
24 10 0
40 10 2
19 9 2
44 9 2
40 9 2
41 9 1
15 9 1
26 8 1
33 8 1
14 8 1
98 7 0
38 7 5
39 7 7
25 7 2
10 6 2
22 6 0
21 6 1
15 6 1
18 6 1
19 5 2
32 5 3
23 5 2
25 5 2
7 5 1
22 5 1
34 5 1
8 4 2
8 4 2
11 4 1
26 4 5
12 4 2
16 4 1
13 4 1
6 4 1
11 4 1
9 4 0
21 3 1
17 3 0
24 3 1
3 3 1
9 3 1
15 3 1
18 3 1
10 3 1
14 3 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...