Conditional Complexity Overall
  • There are 86 units with 2,042 lines of code in units (17.6% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 3 medium complex units (914 lines of code)
    • 4 simple units (141 lines of code)
    • 79 very simple units (987 lines of code)
0% | 0% | 44% | 6% | 48%
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% | 0% | 48% | 4% | 47%
py0% | 0% | 0% | 46% | 53%
tsx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages0% | 0% | 47% | 4% | 47%
model-fetch0% | 0% | 0% | 46% | 53%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
745 14 3
85 14 1
84 14 1
39 10 2
26 9 1
19 7 0
57 6 1
36 5 1
23 5 5
12 4 5
28 4 14
27 4 2
12 4 4
20 3 4
19 3 4
10 3 5
5 3 1
3 2 1
10 2 1
8 2 2
16 2 0
9 2 5
6 2 3
7 2 4
7 2 4
10 2 5
16 2 2
20 2 11
11 2 6
19 2 5
10 2 5
11 2 5
15 2 5
10 2 7
7 2 4
4 2 1
8 2 4
24 2 2
19 2 8
9 2 4
10 2 5
9 2 4
5 2 2
6 2 0
5 2 0
3 2 1
130 1 3
14 1 3
9 1 2
14 1 3
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...