aws-quickstart / quickstart-sios-protection-suite
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
  • 55% duplication:
    • 2,575 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,430 duplicated lines
  • 69 duplicates
system55% (1,430 lines)
Duplication per Extension
yaml62% (1,376 lines)
yml80% (40 lines)
pl4% (14 lines)
Duplication per Component (primary)
templates62% (1,376 lines)
ci80% (40 lines)
scripts4% (14 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 69 duplicates...
Size#FoldersFilesLinesCode
87 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite.template.yaml
203:289 (15%)
134:220 (7%)
view
85 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
201:285 (15%)
194:278 (15%)
view
83 x 2 templates
templates
sios-protection-suite-master.template...
sios-protection-suite.template.yaml
196:278 (15%)
134:216 (7%)
view
57 x 2 templates
templates
sios-protection-suite.template.yaml
sios-protection-suite.template.yaml
697:753 (5%)
799:855 (5%)
view
40 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
446:485 (7%)
421:460 (7%)
view
39 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
68:106 (6%)
61:99 (7%)
view
38 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite.template.yaml
380:417 (6%)
356:393 (3%)
view
34 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
137:170 (6%)
130:163 (6%)
view
29 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
417:445 (5%)
391:419 (5%)
view
27 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
23:49 (4%)
15:41 (4%)
view
26 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
534:559 (4%)
516:541 (4%)
view
24 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
510:533 (4%)
488:511 (4%)
view
24 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
486:509 (4%)
462:485 (4%)
view
20 x 2 ci
ci
config.yml
taskcat.yml
1:22 (83%)
1:22 (76%)
view
19 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite.template.yaml
318:336 (3%)
255:273 (1%)
view
19 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite-master.template...
333:351 (3%)
326:344 (3%)
view
18 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite.template.yaml
82:99 (3%)
67:84 (1%)
view
18 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite.template.yaml
35:52 (3%)
35:52 (1%)
view
18 x 2 templates
templates
sios-protection-suite-master.template...
sios-protection-suite.template.yaml
75:92 (3%)
67:84 (1%)
view
18 x 2 templates
templates
sios-protection-suite-main.template.yaml
sios-protection-suite.template.yaml
292:309 (3%)
225:242 (1%)
view