aws-quickstart / quickstart-microfocus-amc-es
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
  • 56% duplication:
    • 10,536 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 5,991 duplicated lines
  • 1,013 duplicates
system56% (5,991 lines)
Duplication per Extension
yaml67% (5,910 lines)
ps110% (74 lines)
yml21% (7 lines)
Duplication per Component (primary)
templates67% (5,910 lines)
scripts4% (74 lines)
ci21% (7 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 1,013 duplicates...
Size#FoldersFilesLinesCode
178 x 2 templates
templates
mf-es-template.yaml
mf-escwa-template.yaml
567:744 (12%)
393:570 (20%)
view
121 x 2 templates
templates
mf-fs-redhat-template.yaml
mf-fs-template.yaml
144:264 (17%)
157:277 (12%)
view
107 x 2 templates
templates
mf-es-redhat-template.yaml
mf-es-template.yaml
372:478 (11%)
405:511 (7%)
view
90 x 2 templates
templates
mf-es-master-template.yaml
mf-es-workload-template.yaml
290:379 (6%)
259:348 (5%)
view
89 x 2 templates
templates
mf-fs-redhat-template.yaml
mf-fs-template.yaml
359:447 (13%)
373:461 (9%)
view
84 x 2 templates
templates
mf-es-master-template.yaml
mf-es-workload-template.yaml
428:511 (6%)
395:478 (4%)
view
82 x 2 templates
templates
mf-escwa-template.yaml
mf-fs-template.yaml
410:491 (9%)
492:573 (8%)
view
82 x 2 templates
templates
mf-es-template.yaml
mf-fs-template.yaml
584:665 (5%)
492:573 (8%)
view
68 x 2 templates
templates
mf-es-redhat-template.yaml
mf-es-template.yaml
185:252 (7%)
194:261 (4%)
view
68 x 2 templates
templates
mf-es-redhat-template.yaml
mf-es-template.yaml
253:320 (7%)
282:349 (4%)
view
60 x 2 templates
templates
mf-es-template.yaml
mf-escwa-template.yaml
332:391 (4%)
236:295 (7%)
view
48 x 2 templates
templates
mf-es-template.yaml
mf-escwa-template.yaml
142:189 (3%)
101:148 (5%)
view
47 x 2 templates
templates
mf-es-master-template.yaml
mf-es-workload-template.yaml
626:672 (3%)
592:638 (2%)
view
42 x 2 templates
templates
mf-escwa-template.yaml
mf-fs-template.yaml
601:642 (4%)
681:722 (4%)
view
42 x 2 templates
templates
mf-es-master-template.yaml
mf-es-workload-template.yaml
573:614 (3%)
539:580 (2%)
view
41 x 2 templates
templates
mf-es-redhat-template.yaml
mf-fs-redhat-template.yaml
318:358 (4%)
292:332 (6%)
view
41 x 2 templates
templates
mf-es-template.yaml
mf-escwa-template.yaml
411:451 (2%)
302:342 (4%)
view
41 x 2 templates
templates
mf-es-redhat-template.yaml
mf-escwa-template.yaml
378:418 (4%)
302:342 (4%)
view
41 x 2 templates
templates
mf-escwa-template.yaml
mf-fs-template.yaml
251:291 (4%)
309:349 (4%)
view
41 x 2 templates
templates
mf-es-template.yaml
mf-fs-template.yaml
347:387 (2%)
309:349 (4%)
view