Conditional Complexity Overall
  • There are 112 units with 3,288 lines of code in units (8.1% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 4 medium complex units (466 lines of code)
    • 14 simple units (749 lines of code)
    • 94 very simple units (2,073 lines of code)
0% | 0% | 14% | 22% | 63%
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
tsx0% | 0% | 15% | 23% | 61%
ts0% | 0% | 0% | 19% | 80%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 0% | 15% | 22% | 62%
scripts0% | 0% | 0% | 50% | 49%
ROOT0% | 0% | 0% | 0% | 100%
playwright0% | 0% | 0% | 0% | 100%
.storybook0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
172 25 20
87 20 1
134 14 34
73 14 8
37 10 3
28 9 1
54 8 9
58 8 9
41 8 1
61 7 10
69 7 9
52 7 7
79 7 19
81 6 0
15 6 2
40 6 0
52 6 9
82 6 14
42 5 1
34 5 0
37 5 6
44 5 4
25 5 3
48 5 4
25 5 1
37 5 9
9 4 4
40 4 6
53 4 6
49 4 13
14 4 4
58 4 7
35 4 4
28 3 22
17 3 2
35 3 6
34 3 6
21 3 7
25 3 4
28 3 3
35 3 7
31 3 6
32 3 6
35 3 7
19 3 3
32 3 8
37 2 1
5 2 1
4 2 1
3 2 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...