Conditional Complexity Overall
  • There are 579 units with 9,544 lines of code in units (36.9% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (207 lines of code)
    • 23 medium complex units (1,024 lines of code)
    • 92 simple units (2,685 lines of code)
    • 462 very simple units (5,628 lines of code)
0% | 2% | 10% | 28% | 58%
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
scala0% | 2% | 11% | 28% | 57%
py0% | 0% | 0% | 45% | 54%
tsx0% | 0% | 0% | 32% | 67%
rb0% | 0% | 0% | 11% | 88%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
app0% | 3% | 12% | 27% | 55%
common0% | 0% | 10% | 16% | 73%
ProxyStatsGathering0% | 0% | 6% | 58% | 34%
lambda0% | 0% | 6% | 25% | 68%
frontend0% | 0% | 0% | 30% | 69%
testscripts0% | 0% | 0% | 32% | 67%
cloudformation0% | 0% | 0% | 14% | 85%
utils0% | 0% | 0% | 8% | 91%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
130 35 1
77 26 1
63 22 2
58 19 2
65 17 2
55 16 1
42 15 6
40 15 2
45 14 1
37 14 2
40 14 4
46 14 3
36 13 5
13 13 1
35 13 1
44 12 2
46 12 1
76 12 1
42 12 1
30 11 2
34 11 1
23 11 2
74 11 1
23 11 6
57 11 3
38 10 1
44 10 1
58 10 1
32 10 4
48 10 1
71 10 5
22 10 2
34 10 1
63 10 1
51 10 1
24 9 1
24 9 2
11 9 1
30 9 1
31 9 2
18 9 1
25 9 3
37 9 1
24 9 4
17 8 2
19 8 1
23 8 1
50 8 2
31 8 2
25 8 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...