guardian / support-service-lambdas
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system18% (8,572 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
yaml42% (3,407 lines)
ts23% (2,991 lines)
scala7% (1,857 lines)
xml93% (224 lines)
t21% (57 lines)
sbt4% (36 lines)
Duplication per Component (primary)
handlers17% (5,702 lines)
modules35% (1,564 lines)
cdk28% (1,022 lines)
lib4% (191 lines)
_templates21% (57 lines)
ROOT4% (36 lines)
project0% (0 lines)

Duplication Between Components (50+ lines)

G handlers handlers lib lib handlers--lib 449 modules modules handlers--modules 150 _templates _templates _templates--handlers 298 cdk cdk _templates--cdk 269

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 3,505 duplicates...
Size#FoldersFilesLinesCode
63 x 2 handlers/stripe-webhook-...scala/com/gu/util/zuora
handlers/zuora-callout-a...scala/com/gu/util/zuora
12:91 (100%)
11:90 (100%)
view
53 x 2 cdk/lib
cdk/lib
90:148 (31%)
123:181 (35%)
view
42 x 2 handlers/salesforce-disaster-recovery/src/services
modules/aws/src
11:59 (85%)
13:61 (84%)
view
31 x 2 handlers/digital-voucher-cancellation-processor
handlers/sf-move-subscriptions-api
55:85 (17%)
60:90 (6%)
view
30 x 2 cdk/lib
cdk/lib
150:183 (20%)
110:144 (20%)
view
29 x 2 handlers/zuora-sar
handlers/zuora-sar
50:78 (14%)
104:132 (14%)
view
28 x 2 modules/supporter-product-data/src
modules/supporter-product-data
6:35 (100%)
6:35 (100%)
view
27 x 2 cdk/lib
cdk/lib
42:69 (18%)
42:70 (18%)
view
25 x 2 handlers/identity-retention
handlers/sf-contact-merge
205:230 (11%)
201:226 (11%)
view
23 x 2 modules/test-users/src
modules/test-users/src
21:46 (63%)
21:46 (63%)
view
22 x 2 handlers/new-product-api...uct/api/addsubscription
handlers/new-product-api...uct/api/addsubscription
144:165 (17%)
138:159 (18%)
view
21 x 2 handlers/cancellation-sf-cases-api
handlers/identity-backfill
25:45 (10%)
25:45 (10%)
view
21 x 2 handlers/digital-voucher-api
handlers/zuora-retention
25:45 (9%)
39:59 (4%)
view
21 x 2 handlers/cancellation-sf-cases-api
handlers/fulfilment-date-calculator
25:45 (10%)
46:66 (15%)
view
21 x 2 handlers/sf-contact-merge
handlers/zuora-retention
30:50 (10%)
168:188 (4%)
view
21 x 2 handlers/sf-datalake-export
handlers/zuora-datalake-export
242:262 (3%)
19:39 (17%)
view
21 x 2 handlers/sf-contact-merge
handlers/zuora-retention
30:50 (10%)
136:156 (4%)
view
21 x 2 handlers/sf-datalake-export
handlers/zuora-retention
242:262 (3%)
69:89 (4%)
view
21 x 2 handlers/delivery-records-api
handlers/holiday-stop-api
27:47 (10%)
29:49 (5%)
view
21 x 2 handlers/sf-datalake-export
handlers/zuora-retention
242:262 (3%)
39:59 (4%)
view
21 x 2 handlers/catalog-service
handlers/delivery-records-api
32:52 (10%)
27:47 (10%)
view
21 x 2 handlers/identity-retention
handlers/sf-datalake-export
31:51 (9%)
44:64 (3%)
view
21 x 2 handlers/identity-retention
handlers/sf-datalake-export
31:51 (9%)
95:115 (3%)
view
21 x 2 handlers/catalog-service
handlers/sf-datalake-export
32:52 (10%)
44:64 (3%)
view
21 x 2 handlers/catalog-service
handlers/sf-datalake-export
32:52 (10%)
95:115 (3%)
view
21 x 2 handlers/sf-datalake-export
handlers/sf-datalake-export
95:115 (3%)
146:166 (3%)
view
21 x 2 handlers/sf-datalake-export
handlers/zuora-datalake-export
95:115 (3%)
19:39 (17%)
view
21 x 2 handlers/sf-datalake-export
handlers/sf-datalake-export
95:115 (3%)
183:203 (3%)
view
21 x 2 handlers/zuora-datalake-export
handlers/zuora-retention
19:39 (17%)
39:59 (4%)
view
21 x 2 handlers/sf-datalake-export
handlers/sf-datalake-export
95:115 (3%)
242:262 (3%)
view
21 x 2 handlers/zuora-datalake-export
handlers/zuora-retention
19:39 (17%)
69:89 (4%)
view
21 x 2 handlers/sf-datalake-export
handlers/sf-datalake-export
183:203 (3%)
242:262 (3%)
view
21 x 2 handlers/digital-subscription-expiry
handlers/fulfilment-date-calculator
32:52 (13%)
46:66 (15%)
view
21 x 2 handlers/catalog-service
handlers/sf-contact-merge
32:52 (10%)
30:50 (10%)
view
21 x 2 handlers/digital-subscription-expiry
handlers/zuora-datalake-export
32:52 (13%)
19:39 (17%)
view
21 x 2 handlers/sf-contact-merge
handlers/sf-datalake-export
30:50 (10%)
183:203 (3%)
view
21 x 2 handlers/sf-contact-merge
handlers/sf-datalake-export
30:50 (10%)
242:262 (3%)
view
21 x 2 handlers/delivery-records-api
handlers/fulfilment-date-calculator
27:47 (10%)
46:66 (15%)
view
21 x 2 handlers/fulfilment-date-calculator
handlers/sf-contact-merge
46:66 (15%)
30:50 (10%)
view
21 x 2 handlers/holiday-stop-api
handlers/zuora-retention
29:49 (5%)
39:59 (4%)
view
21 x 2 handlers/holiday-stop-api
handlers/zuora-retention
29:49 (5%)
69:89 (4%)
view
21 x 2 handlers/zuora-retention
handlers/zuora-retention
39:59 (4%)
69:89 (4%)
view
21 x 2 handlers/sf-datalake-export
handlers/zuora-retention
95:115 (3%)
136:156 (4%)
view
21 x 2 handlers/identity-backfill
handlers/zuora-retention
25:45 (10%)
168:188 (4%)
view
21 x 2 handlers/identity-backfill
handlers/zuora-retention
25:45 (10%)
136:156 (4%)
view
21 x 2 handlers/identity-backfill
handlers/sf-contact-merge
25:45 (10%)
30:50 (10%)
view
21 x 2 handlers/sf-datalake-export
handlers/zuora-retention
95:115 (3%)
168:188 (4%)
view
21 x 2 handlers/digital-subscription-expiry
handlers/sf-datalake-export
32:52 (13%)
95:115 (3%)
view
21 x 2 handlers/digital-subscription-expiry
handlers/sf-datalake-export
32:52 (13%)
44:64 (3%)
view
21 x 2 handlers/cancellation-sf-cases-api
handlers/catalog-service
25:45 (10%)
32:52 (10%)
view
Duplicated Units
The list of top 9 duplicated units.
See data for all 9 unit duplicates...
Size#FoldersFilesLinesCode
17 x 2 handlers/soft-opt-in-con...t_opt_in_consent_setter
handlers/soft-opt-in-con...t_opt_in_consent_setter
105:126 
171:191 
view
16 x 2 handlers/zuora-rer/src/main/scala/com/gu/zuora/rer
handlers/zuora-sar/src/main/scala/com/gu/zuora/sar
20:39 
21:40 
view
13 x 2 handlers/zuora-rer/src/main/scala/com/gu/zuora/rer
handlers/zuora-sar/src/main/scala/com/gu/zuora/sar
40:55 
40:55 
view
12 x 2 handlers/new-product-api...i/addsubscription/email
handlers/new-product-api...ption/email/serialisers
108:121 
57:70 
view
11 x 2 handlers/zuora-callout-a...scala/com/gu/util/zuora
handlers/stripe-webhook-...scala/com/gu/util/zuora
78:91 
79:92 
view
10 x 2 handlers/soft-opt-in-con...t_opt_in_consent_setter
handlers/soft-opt-in-con...t_opt_in_consent_setter
77:88 
16:27 
view
8 x 2 handlers/product-move-ap...uctmove/endpoint/cancel
handlers/product-move-ap...e/endpoint/updateamount
145:154 
9:18 
view
6 x 2 handlers/digital-voucher.../gu/digital_voucher_api
handlers/sf-move-subscri.../move/subscriptions/api
43:50 
42:49 
view
6 x 2 handlers/new-product-api...lidation/guardianweekly
handlers/new-product-api...validation/contribution
6:13 
6:13 
view