aws-quickstart / quickstart-korea-isms-p
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
  • 10% duplication:
    • 11,213 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,199 duplicated lines
  • 169 duplicates
system10% (1,199 lines)
Duplication per Extension
yaml25% (703 lines)
css5% (422 lines)
html49% (74 lines)
Duplication per Component (primary)
templates25% (703 lines)
landing5% (478 lines)
landing/font2100% (9 lines)
landing/font50% (9 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 169 duplicates...
Size#FoldersFilesLinesCode
27 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
352:378 (1%)
417:443 (1%)
view
26 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
741:766 (1%)
981:1006 (1%)
view
25 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
275:299 (1%)
470:494 (1%)
view
19 x 2 landing
landing
index.html
index_en.html
1:54 (26%)
1:53 (23%)
view
15 x 2 landing
landing
style.css
style.css
4383:4401 (<1%)
8599:8615 (<1%)
view
13 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
663:675 (<1%)
1377:1389 (<1%)
view
13 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
273:285 (<1%)
626:638 (<1%)
view
13 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
663:675 (<1%)
981:993 (<1%)
view
13 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
981:993 (<1%)
1377:1389 (<1%)
view
13 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
663:675 (<1%)
741:753 (<1%)
view
13 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
741:753 (<1%)
1377:1389 (<1%)
view
13 x 2 templates
templates
security_baseline.template.yaml
security_baseline.template.yaml
104:116 (1%)
185:197 (1%)
view
12 x 2 templates
templates
security_baseline.template.yaml
security_baseline.template.yaml
848:861 (1%)
903:916 (1%)
view
12 x 2 templates
templates
security_baseline.template.yaml
security_baseline.template.yaml
391:402 (1%)
414:425 (1%)
view
11 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
470:480 (<1%)
628:638 (<1%)
view
10 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
352:361 (<1%)
388:397 (<1%)
view
10 x 2 templates
templates
application-ssl.template.yaml
application-ssl.template.yaml
388:397 (<1%)
417:426 (<1%)
view
10 x 2 landing
landing
index.html
index_en.html
59:68 (14%)
59:68 (12%)
view
10 x 2 landing
landing
style.css
style.css
7278:7287 (<1%)
7298:7307 (<1%)
view
9 x 2 landing
landing
style.css
style.css
3785:3793 (<1%)
4037:4045 (<1%)
view