Conditional Complexity Overall
  • There are 273 units with 5,438 lines of code in units (17.8% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (135 lines of code)
    • 5 medium complex units (786 lines of code)
    • 17 simple units (849 lines of code)
    • 249 very simple units (3,668 lines of code)
0% | 2% | 14% | 15% | 67%
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% | 9% | 0% | 1% | 89%
ts0% | 0% | 20% | 12% | 67%
tsx0% | 0% | 21% | 45% | 33%
sc0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
newswires0% | 4% | 7% | 21% | 65%
cdk0% | 0% | 54% | 0% | 45%
ingestion-lambda0% | 0% | 8% | 20% | 71%
shared0% | 0% | 14% | 0% | 85%
poller-lambdas0% | 0% | 0% | 12% | 87%
db0% | 0% | 0% | 0% | 100%
fingerpost-queueing-lambda0% | 0% | 0% | 0% | 100%
recomputation-lambda0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
46 45 1
89 27 2
57 21 1
100 15 9
444 12 3
135 11 0
50 11 1
100 10 1
25 9 4
74 9 1
80 8 8
28 8 1
41 8 5
22 7 1
23 7 4
123 7 0
36 6 1
21 6 0
18 6 1
23 6 1
82 6 1
51 6 0
58 6 4
44 6 5
20 5 2
48 5 1
79 5 2
33 5 1
35 5 1
17 5 1
36 5 1
15 4 0
16 4 2
21 4 1
25 4 1
16 4 3
16 4 0
26 4 2
19 4 3
20 4 2
19 4 1
14 4 1
11 4 1
19 4 3
17 4 0
27 4 0
45 4 2
23 3 1
9 3 1
19 3 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...