Conditional Complexity Overall
  • There are 348 units with 5,623 lines of code in units (44.1% of code).
    • 1 very complex units (562 lines of code)
    • 6 complex units (735 lines of code)
    • 10 medium complex units (594 lines of code)
    • 33 simple units (1,107 lines of code)
    • 298 very simple units (2,625 lines of code)
9% | 13% | 10% | 19% | 46%
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
ts19% | 15% | 6% | 15% | 42%
py0% | 27% | 6% | 18% | 47%
js0% | 3% | 13% | 29% | 53%
tsx0% | 0% | 40% | 13% | 46%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
console38% | 0% | 19% | 8% | 32%
javascript-app0% | 26% | 1% | 20% | 51%
python-app0% | 27% | 6% | 18% | 47%
labs0% | 3% | 13% | 29% | 53%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
562 108 7
83 44 2
64 40 1
149 28 5
222 28 1
65 27 1
152 26 1
115 24 1
49 17 1
46 15 2
18 14 0
41 14 7
126 13 2
35 12 1
12 11 2
32 11 1
120 11 11
42 10 0
34 10 0
45 10 2
39 10 2
60 9 1
67 9 3
25 9 0
29 9 2
18 9 2
47 8 1
32 8 1
24 8 4
8 8 1
16 8 1
30 7 5
66 7 2
23 7 2
89 7 1
30 7 1
63 6 0
40 6 1
36 6 1
20 6 1
17 6 1
14 6 3
36 6 0
20 6 1
29 6 2
30 6 1
18 6 2
16 6 1
32 6 3
12 6 2
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...