aws-quickstart / quickstart-illumina-dragen
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
  • 35% duplication:
    • 2,373 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 842 duplicated lines
  • 31 duplicates
system35% (842 lines)
Duplication per Extension
yaml47% (808 lines)
yml100% (34 lines)
Duplication per Component (primary)
templates47% (808 lines)
ci100% (34 lines)
app/source/dragen/src0% (0 lines)
app/source/dragen/src/scheduler0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 31 duplicates...
Size#FoldersFilesLinesCode
119 x 2 templates
templates
container-build.template.yaml
dragen.template.yaml
84:202 (39%)
386:504 (22%)
view
66 x 2 templates
templates
copy.template.yaml
dragen.template.yaml
21:86 (40%)
280:345 (12%)
view
23 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
126:148 (9%)
107:129 (4%)
view
20 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
58:77 (8%)
55:74 (3%)
view
18 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
26:43 (7%)
29:46 (3%)
view
17 x 2 templates
templates
clean-bucket.template.yaml
clean-repository.template.yaml
70:89 (21%)
58:77 (25%)
view
17 x 2 ci
ci
config.yml
taskcat.yml
1:18 (100%)
1:18 (100%)
view
15 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
187:203 (6%)
189:205 (2%)
view
15 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
171:186 (6%)
156:171 (2%)
view
14 x 2 templates
templates
batch.template.yaml
batch.template.yaml
163:176 (5%)
186:199 (5%)
view
10 x 2 templates
templates
clean-bucket.template.yaml
clean-repository.template.yaml
9:18 (12%)
9:18 (14%)
view
9 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
149:157 (3%)
134:142 (1%)
view
9 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
4:12 (3%)
4:12 (1%)
view
9 x 2 templates
templates
dragen-main.template.yaml
dragen.template.yaml
159:167 (3%)
144:152 (1%)
view
9 x 2 templates
templates
clean-bucket.template.yaml
clean-repository.template.yaml
24:32 (11%)
24:32 (13%)
view
8 x 2 templates
templates
batch.template.yaml
batch.template.yaml
128:135 (3%)
142:149 (3%)
view
8 x 2 templates
templates
container-build.template.yaml
dragen.template.yaml
24:31 (2%)
280:287 (1%)
view
8 x 2 templates
templates
container-build.template.yaml
container-build.template.yaml
24:31 (2%)
66:73 (2%)
view
8 x 2 templates
templates
clean-bucket.template.yaml
clean-repository.template.yaml
37:46 (10%)
36:45 (11%)
view
8 x 2 templates
templates
container-build.template.yaml
copy.template.yaml
24:31 (2%)
21:28 (4%)
view