aws-quickstart / quickstart-dotnetfx-ecs-cicd
Duplication

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

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 59% duplication:
    • 11,352 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 6,716 duplicated lines
  • 547 duplicates
system59% (6,716 lines)
Duplication per Extension
js63% (6,516 lines)
yaml23% (200 lines)
Duplication per Component (primary)
SampleWebApplication/MVC5App/Scripts48% (2,808 lines)
SampleWebApplication/MVC5App/Scripts/umd97% (1,584 lines)
SampleWebApplication/MVC5App/Scripts/esm99% (1,584 lines)
SampleWebApplication/MVC5App/Scripts/src40% (540 lines)
templates23% (200 lines)
SampleWebApplication/MVC5App/Properties0% (0 lines)
SampleWebApplication/MVC5App0% (0 lines)
SampleWebApplication/MVC5App/Content0% (0 lines)
SampleWebApplication/MVC5App/Views0% (0 lines)
SampleWebApplication/MVC5App/Views/Shared0% (0 lines)
SampleWebApplication/MVC5App/Views/Home0% (0 lines)
SampleWebApplication/MVC5App/App_Start0% (0 lines)
SampleWebApplication/MVC5App/Controllers0% (0 lines)
SampleWebApplication/MVC5App/Models0% (0 lines)

Duplication Between Components (50+ lines)

G SampleWebApplication/MVC5App/Scripts SampleWebApplication/MVC5App/Scripts SampleWebApplication/MVC5App/Scripts/esm SampleWebApplication/MVC5App/Scripts/esm SampleWebApplication/MVC5App/Scripts--SampleWebApplication/MVC5App/Scripts/esm 3237 SampleWebApplication/MVC5App/Scripts/umd SampleWebApplication/MVC5App/Scripts/umd SampleWebApplication/MVC5App/Scripts--SampleWebApplication/MVC5App/Scripts/umd 3237 SampleWebApplication/MVC5App/Scripts/src SampleWebApplication/MVC5App/Scripts/src SampleWebApplication/MVC5App/Scripts--SampleWebApplication/MVC5App/Scripts/src 1399 SampleWebApplication/MVC5App/Scripts/esm--SampleWebApplication/MVC5App/Scripts/umd 3168 SampleWebApplication/MVC5App/Scripts/esm--SampleWebApplication/MVC5App/Scripts/src 386 SampleWebApplication/MVC5App/Scripts/src--SampleWebApplication/MVC5App/Scripts/umd 386

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 547 duplicates...
Size#FoldersFilesLinesCode
1067 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper.js
25:2613 (99%)
31:2619 (99%)
view
517 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper-utils.js
popper-utils.js
32:1109 (99%)
38:1115 (93%)
view
267 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/esm
bootstrap.bundle.js
popper.js
2253:2891 (6%)
721:1359 (25%)
view
267 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/umd
bootstrap.bundle.js
popper.js
2253:2891 (6%)
727:1365 (24%)
view
251 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
popper-utils.js
popper.js
99:601 (52%)
161:663 (26%)
view
188 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper-utils.js
408:739 (17%)
308:640 (33%)
view
188 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/esm
popper-utils.js
popper.js
302:634 (36%)
408:739 (17%)
view
188 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper-utils.js
popper.js
302:634 (36%)
414:745 (17%)
view
188 x 2 SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts/umd
popper-utils.js
popper.js
308:640 (33%)
414:745 (17%)
view
174 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/umd
bootstrap.bundle.js
popper.js
1557:1940 (4%)
31:414 (16%)
view
174 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/esm
bootstrap.bundle.js
popper.js
1557:1940 (4%)
25:408 (16%)
view
166 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
respond.js
respond.matchmedia.addListener.js
22:224 (89%)
71:273 (74%)
view
161 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/esm
bootstrap.bundle.js
popper-utils.js
1965:2251 (4%)
328:614 (31%)
view
161 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/esm
bootstrap.bundle.js
popper.js
1965:2251 (4%)
433:719 (15%)
view
161 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/umd
bootstrap.bundle.js
popper.js
1965:2251 (4%)
439:725 (14%)
view
161 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/umd
bootstrap.bundle.js
popper-utils.js
1965:2251 (4%)
334:620 (29%)
view
147 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/esm
bootstrap.bundle.js
popper.js
3178:3449 (3%)
1646:1917 (13%)
view
147 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/umd
bootstrap.bundle.js
popper.js
3178:3449 (3%)
1652:1923 (13%)
view
117 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/esm
bootstrap.bundle.js
popper.js
2898:3172 (2%)
1366:1640 (10%)
view
117 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts/umd
bootstrap.bundle.js
popper.js
2898:3172 (2%)
1372:1646 (10%)
view
Duplicated Units
The list of top 20 duplicated units.
See data for all 97 unit duplicates...
Size#FoldersFilesLinesCode
140 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
respond.js
respond.matchmedia.addListener.js
72:212 
121:261 
view
59 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper.js
1278:1367 
1284:1373 
view
58 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper.js
1562:1650 
1568:1656 
view
44 x 3 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper.js
bootstrap.bundle.js
1404:1477 
1410:1483 
2936:3009 
view
43 x 3 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper.js
bootstrap.bundle.js
1745:1810 
1751:1816 
3277:3342 
view
41 x 4 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper-utils.js
popper.js
popper-utils.js
691:740 
586:635 
697:746 
592:641 
view
38 x 5 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
popper.js
popper-utils.js
bootstrap.bundle.js
621:673 
516:568 
627:679 
522:574 
2153:2205 
view
36 x 5 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
popper.js
popper-utils.js
bootstrap.bundle.js
494:544 
389:439 
500:550 
395:445 
2026:2076 
view
35 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
440:488 
378:426 
view
35 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
563:610 
501:548 
view
34 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
391:438 
329:376 
view
34 x 5 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
popper.js
popper-utils.js
bootstrap.bundle.js
445:492 
340:387 
451:498 
346:393 
1977:2024 
view
39 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper.js
2471:2535 
2477:2541 
view
32 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
popper.js
popper-utils.js
625:664 
563:602 
view
32 x 3 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper.js
bootstrap.bundle.js
1693:1732 
1699:1738 
3225:3264 
view
28 x 3 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper.js
bootstrap.bundle.js
1821:1853 
1827:1859 
3353:3385 
view
43 x 2 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
popper.js
popper.js
1862:1924 
1868:1930 
view
199 x 2 SampleWebApplication/MVC5App/Scripts
SampleWebApplication/MVC5App/Scripts
respond.js
respond.matchmedia.addListener.js
25:224 
74:273 
view
25 x 3 SampleWebApplication/MVC5App/Scripts/esm
SampleWebApplication/MVC5App/Scripts/umd
SampleWebApplication/MVC5App/Scripts
popper.js
popper.js
bootstrap.bundle.js
914:958 
920:964 
2446:2490 
view
24 x 2 SampleWebApplication/MVC5App/Scripts/src/modifiers
SampleWebApplication/MVC5App/Scripts
offset.js
popper.js
167:194 
1706:1733 
view