Conditional Complexity Overall
  • There are 2,796 units with 30,495 lines of code in units (46.7% of code).
    • 1 very complex units (74 lines of code)
    • 8 complex units (1,047 lines of code)
    • 69 medium complex units (3,706 lines of code)
    • 160 simple units (4,019 lines of code)
    • 2,558 very simple units (21,649 lines of code)
<1% | 3% | 12% | 13% | 70%
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
scala<1% | <1% | 8% | 15% | 74%
js0% | 10% | 14% | 9% | 65%
java0% | 1% | 18% | 13% | 66%
ts0% | 0% | 2% | 13% | 83%
py0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
thrall4% | 0% | 8% | 12% | 74%
kahuna0% | 9% | 14% | 9% | 65%
scripts0% | 1% | 19% | 14% | 64%
common-lib0% | 1% | 4% | 8% | 85%
media-api0% | 1% | 12% | 23% | 61%
metadata-editor0% | 0% | 12% | 6% | 80%
usage0% | 0% | 4% | 7% | 88%
cropper0% | 0% | 12% | 17% | 69%
rest-lib0% | 0% | 8% | 16% | 75%
image-loader0% | 0% | 2% | 32% | 64%
image-embedder-lambda0% | 0% | 0% | 22% | 77%
collections0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
leases0% | 0% | 0% | 0% | 100%
image-cache-purger0% | 0% | 0% | 0% | 100%
dev0% | 0% | 0% | 0% | 100%
quarantine-status0% | 0% | 0% | 0% | 100%
auth0% | 0% | 0% | 0% | 100%
image-counter-lambda0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
74 53 1
93 38 3
39 38 1
196 32 22
176 31 7
216 31 10
235 29 14
50 26 2
42 26 1
48 24 3
57 24 3
46 24 5
26 23 2
75 23 4
177 23 0
126 22 8
186 22 12
54 22 2
30 22 1
46 21 2
76 21 2
93 20 5
96 20 12
61 20 2
39 19 2
141 19 2
49 19 2
67 18 8
137 18 9
57 18 2
144 17 15
26 17 2
26 16 2
40 16 0
20 16 0
35 15 1
40 15 2
36 15 3
21 15 1
39 15 5
17 15 1
29 15 1
49 14 2
79 14 5
60 14 5
30 14 1
71 14 3
61 14 2
27 14 1
23 13 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...