aws-quickstart / quickstart-hail
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
  • 36% duplication:
    • 2,469 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 898 duplicated lines
  • 87 duplicates
system36% (898 lines)
Duplication per Extension
yaml36% (898 lines)
Duplication per Component (primary)
templates36% (898 lines)
packer0% (0 lines)
packer/scripts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 87 duplicates...
Size#FoldersFilesLinesCode
87 x 2 templates
templates
hail-emr.template.yaml
hail-emr.template.yaml
39:125 (9%)
242:328 (9%)
view
84 x 2 templates
templates
hail-emr.template.yaml
hail-emr.template.yaml
143:226 (9%)
242:325 (9%)
view
84 x 2 templates
templates
hail-emr.template.yaml
hail-emr.template.yaml
39:122 (9%)
143:226 (9%)
view
23 x 2 templates
templates
hail-core.template.yaml
hail-s3.template.yaml
101:126 (5%)
19:44 (19%)
view
21 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
203:223 (4%)
309:329 (4%)
view
19 x 2 templates
templates
hail-ami.template.yaml
hail-emr.template.yaml
355:373 (4%)
771:789 (2%)
view
18 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
153:170 (3%)
262:279 (3%)
view
16 x 2 templates
templates
hail-ami.template.yaml
hail-s3.template.yaml
45:64 (3%)
32:51 (13%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
225:239 (3%)
331:345 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
156:170 (3%)
209:223 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
156:170 (3%)
315:329 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
281:295 (3%)
331:345 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
172:186 (3%)
331:345 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
209:223 (3%)
265:279 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
172:186 (3%)
225:239 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
225:239 (3%)
281:295 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
172:186 (3%)
281:295 (3%)
view
15 x 2 templates
templates
hail-ami.template.yaml
hail-ami.template.yaml
265:279 (3%)
315:329 (3%)
view
15 x 2 templates
templates
hail-core.template.yaml
hail-master.template.yaml
62:79 (3%)
69:86 (6%)
view
12 x 2 templates
templates
hail-emr.template.yaml
hail-sagemaker.template.yaml
363:375 (1%)
61:73 (4%)
view