Conditional Complexity Overall
  • There are 709 units with 10,336 lines of code in units (26.9% of code).
    • 1 very complex units (333 lines of code)
    • 1 complex units (115 lines of code)
    • 20 medium complex units (837 lines of code)
    • 101 simple units (2,813 lines of code)
    • 586 very simple units (6,238 lines of code)
3% | 1% | 8% | 27% | 60%
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
scala3% | 1% | 8% | 27% | 58%
py0% | 0% | 11% | 16% | 72%
ts0% | 0% | 0% | 24% | 75%
go0% | 0% | 0% | 60% | 39%
tsx0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
app3% | 1% | 8% | 27% | 58%
scripts0% | 0% | 8% | 27% | 63%
frontend0% | 0% | 0% | 16% | 83%
periodic_trigger0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
333 62 12
115 26 1
19 14 3
20 14 5
20 14 5
16 13 3
39 13 1
61 13 3
28 13 3
31 12 2
32 12 5
68 12 1
54 12 2
56 12 2
51 12 1
43 11 1
30 11 0
44 11 1
50 11 2
48 11 1
79 11 1
48 11 5
34 10 1
36 10 2
32 10 2
56 10 1
35 10 2
74 10 1
44 10 2
47 10 1
40 10 1
78 10 2
14 9 2
40 9 2
14 9 2
31 9 1
49 9 2
30 9 1
24 9 1
30 9 1
59 9 0
46 9 6
19 8 1
32 8 1
32 8 6
43 8 1
32 8 1
29 8 1
28 8 2
27 8 11
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...