Conditional Complexity Overall
  • There are 1,714 units with 29,325 lines of code in units (36.6% of code).
    • 1 very complex units (704 lines of code)
    • 3 complex units (314 lines of code)
    • 31 medium complex units (2,475 lines of code)
    • 93 simple units (2,955 lines of code)
    • 1,586 very simple units (22,877 lines of code)
2% | 1% | 8% | 10% | 78%
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
tsx5% | 2% | 15% | 6% | 69%
scala0% | <1% | 2% | 10% | 86%
ts0% | 0% | 4% | 15% | 80%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
support-frontend3% | 1% | 10% | 10% | 74%
support-models0% | 4% | 2% | 10% | 83%
support-payment-api0% | 0% | 6% | 6% | 87%
support-workers0% | 0% | 6% | 5% | 87%
support-internationalisation0% | 0% | 43% | 0% | 56%
cdk0% | 0% | 0% | 21% | 78%
supporter-product-data0% | 0% | 0% | 8% | 91%
support-services0% | 0% | 0% | 10% | 89%
stripe-patrons-data0% | 0% | 0% | 5% | 94%
support-backend0% | 0% | 0% | 14% | 85%
support-modules0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
support-lambdas0% | 0% | 0% | 0% | 100%
support-config0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
support-e2e0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
704 70 10
45 44 1
201 33 6
68 28 0
214 25 9
147 24 20
34 24 1
109 20 1
43 20 1
75 19 2
93 18 10
47 17 1
30 17 1
185 17 9
159 17 17
74 16 5
21 15 2
69 15 8
20 15 1
33 14 1
131 14 8
91 14 1
47 13 2
130 13 19
13 12 1
26 12 3
73 12 6
116 12 8
138 12 0
60 12 4
10 11 1
23 11 1
16 11 1
63 11 7
185 11 3
10 10 1
35 10 1
34 10 1
77 10 9
115 10 5
9 9 1
28 9 2
69 9 2
13 9 0
12 9 2
46 9 6
10 8 3
11 8 1
15 8 1
20 8 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...