guardian / frontend
Duplication

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

Intro
Learn more...
Duplication Overall
system16% (22,112 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scss27% (12,830 lines)
scala9% (4,612 lines)
html16% (2,792 lines)
js6% (1,209 lines)
mjs22% (419 lines)
xml67% (183 lines)
ts1% (52 lines)
css1% (15 lines)
Duplication per Component (primary)
static20% (14,065 lines)
common13% (4,780 lines)
applications13% (520 lines)
sport8% (487 lines)
tools20% (419 lines)
admin4% (410 lines)
article15% (374 lines)
commercial16% (371 lines)
onward9% (202 lines)
facia9% (132 lines)
identity3% (95 lines)
preview13% (78 lines)
discussion5% (61 lines)
facia-press5% (45 lines)
dev-build15% (21 lines)
ROOT5% (20 lines)
rss28% (19 lines)
archive8% (13 lines)
project0% (0 lines)
dev0% (0 lines)

Duplication Between Components (50+ lines)

G commercial commercial common common commercial--common 211 sport sport common--sport 97 onward onward common--onward 50 article article article--common 198 facia facia article--facia 58 applications applications applications--article 178 applications--facia 142 identity identity applications--identity 102 applications--sport 50 facia--onward 78

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 2,380 duplicates...
Size#FoldersFilesLinesCode
513 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
1:680 (100%)
1:680 (100%)
view
462 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
371:904 (49%)
355:888 (50%)
view
204 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
122:370 (21%)
105:353 (22%)
view
149 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
62:255 (35%)
62:253 (76%)
view
136 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
2:167 (18%)
2:167 (30%)
view
136 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
687:856 (13%)
1074:1243 (13%)
view
96 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
383:499 (11%)
341:457 (15%)
view
92 x 2 static/src/stylesheets/module
static/src/stylesheets/module
43:151 (62%)
51:159 (56%)
view
91 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
357:465 (14%)
315:423 (17%)
view
80 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
1:89 (100%)
1:89 (96%)
view
80 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
562:661 (7%)
593:692 (7%)
view
78 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
1:97 (100%)
1:96 (100%)
view
74 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
166:257 (9%)
118:209 (11%)
view
73 x 2 static/src/stylesheets/module/facia/item-layouts
static/src/stylesheets/module/facia/item-layouts
23:113 (97%)
24:114 (97%)
view
71 x 2 common/app/views/fragments/items/facia_cards
common/app/views/fragments/items/facia_cards
101:185 (31%)
106:190 (31%)
view
71 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
720:808 (8%)
649:737 (11%)
view
69 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
33:117 (7%)
17:101 (7%)
view
68 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
939:1013 (7%)
920:994 (7%)
view
68 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
1163:1230 (6%)
897:975 (6%)
view
67 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
198:279 (10%)
169:248 (13%)
view
65 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
8:93 (100%)
8:93 (100%)
view
64 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
257:342 (7%)
214:299 (10%)
view
64 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
625:696 (7%)
555:626 (10%)
view
58 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
258:324 (7%)
381:447 (13%)
view
58 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
540:615 (7%)
480:551 (9%)
view
55 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
499:567 (8%)
482:550 (10%)
view
51 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
46:109 (8%)
44:107 (10%)
view
51 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
342:410 (6%)
215:283 (11%)
view
45 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
4:60 (10%)
4:60 (23%)
view
43 x 2 commercial/app/views/fragments
common/app/views/fragments
85:140 (37%)
116:171 (29%)
view
43 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
1015:1063 (4%)
996:1044 (4%)
view
43 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
208:257 (5%)
327:376 (9%)
view
43 x 2 commercial/app/views/fragments
common/app/views/fragments
21:72 (37%)
51:103 (29%)
view
40 x 2 common/app/views/fragments/items/facia_cards
common/app/views/fragments/items/facia_cards
18:64 (17%)
17:63 (17%)
view
40 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
588:638 (6%)
567:617 (7%)
view
39 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
337:384 (3%)
358:405 (3%)
view
39 x 2 static/src/stylesheets/email
static/src/stylesheets/email
222:260 (15%)
329:367 (12%)
view
38 x 2 common/app/views/fragments
common/app/views/fragments
24:69 (43%)
24:69 (35%)
view
37 x 2 static/src/javascripts/p...in-gate/variants/design
static/src/javascripts/p...in-gate/variants/design
98:144 (33%)
125:171 (25%)
view
37 x 2 common/app/views/fragments/page/head/stylesheets
common/app/views/fragments
8:58 (82%)
10:60 (63%)
view
37 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
1:48 (100%)
1:48 (100%)
view
37 x 2 static/src/stylesheets/module/facia-garnett
static/src/stylesheets/module/facia
301:345 (6%)
263:307 (7%)
view
36 x 2 static/src/stylesheets/module
static/src/stylesheets/module
10:50 (43%)
13:53 (40%)
view
36 x 2 static/src/stylesheets/m...acia-garnett/item-types
static/src/stylesheets/m...acia-garnett/item-types
36:79 (25%)
129:172 (25%)
view
36 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
502:543 (3%)
516:557 (3%)
view
35 x 2 static/src/stylesheets/layout/nav
static/src/stylesheets/layout/nav
209:251 (15%)
143:185 (21%)
view
35 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
1:54 (3%)
1:53 (3%)
view
34 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
113:153 (3%)
88:128 (3%)
view
33 x 2 static/src/stylesheets/module/content-garnett
static/src/stylesheets/module/content
413:452 (4%)
286:325 (7%)
view
33 x 2 static/src/stylesheets/m...ntent-garnett/live-blog
static/src/stylesheets/module/content/live-blog
343:381 (4%)
301:339 (5%)
view
Duplicated Units
The list of top 8 duplicated units.
See data for all 8 unit duplicates...
Size#FoldersFilesLinesCode
12 x 2 onward/app/feed
facia/app/agents
54:69 
59:74 
view
8 x 3 article/app/pages
applications/app/pages
applications/app/pages
20:29 
19:28 
34:43 
view
8 x 2 applications/app/pages
facia/app/pages
22:31 
34:43 
view
8 x 2 common/app/layout/slices
common/app/layout/slices
65:74 
23:32 
view
8 x 2 common/app/model/dotcomrendering/pageElements
common/app/model/liveblog
1915:1924 
188:197 
view
7 x 2 common/app/layout/slices
common/app/layout/slices
6:15 
6:14 
view
6 x 2 common/app/model/dotcomrendering/pageElements
common/app/model/liveblog
57:64 
88:95 
view
6 x 2 common/app/common
common/app/awswrappers
17:27 
8:18 
view