aws-quickstart / quickstart-sios-datakeeper
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
  • 44% duplication:
    • 6,622 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 2,918 duplicated lines
  • 1,461 duplicates
system44% (2,918 lines)
Duplication per Extension
yaml49% (2,381 lines)
ps129% (505 lines)
yml60% (32 lines)
Duplication per Component (primary)
templates49% (2,381 lines)
scripts29% (505 lines)
ci60% (32 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 1,461 duplicates...
Size#FoldersFilesLinesCode
39 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
363:401 (4%)
341:379 (1%)
view
39 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper-main.template.yaml
495:533 (4%)
558:596 (4%)
view
38 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
619:656 (4%)
575:612 (1%)
view
37 x 2 templates
templates
sios-datakeeper.template.yaml
sios-datakeeper.template.yaml
453:489 (1%)
515:551 (1%)
view
37 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
556:592 (3%)
513:549 (1%)
view
36 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
494:529 (3%)
452:487 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
495:529 (3%)
577:611 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
495:529 (3%)
515:549 (1%)
view
35 x 2 templates
templates
sios-datakeeper.template.yaml
sios-datakeeper.template.yaml
453:487 (1%)
577:611 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
558:592 (3%)
453:487 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
558:592 (3%)
577:611 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper-main.template.yaml
495:529 (3%)
621:655 (3%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper-main.template.yaml
558:592 (3%)
621:655 (3%)
view
35 x 2 templates
templates
sios-datakeeper.template.yaml
sios-datakeeper.template.yaml
515:549 (1%)
577:611 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
621:655 (3%)
515:549 (1%)
view
35 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
621:655 (3%)
453:487 (1%)
view
34 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
169:202 (3%)
193:226 (1%)
view
26 x 2 templates
templates
sios-datakeeper-main.template.yaml
sios-datakeeper.template.yaml
443:468 (2%)
390:415 (<1%)
view
25 x 2 templates
templates
sios-datakeeper.template.yaml
sios-datakeeper.template.yaml
2752:2776 (<1%)
2816:2840 (<1%)
view
25 x 2 scripts
scripts
ConfigDC1.ps1
ConfigDC2.ps1
157:186 (9%)
145:174 (13%)
view