aws-quickstart / quickstart-microsoft-iis
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
  • 40% duplication:
    • 3,244 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,308 duplicated lines
  • 151 duplicates
system40% (1,308 lines)
Duplication per Extension
yaml40% (1,284 lines)
ps129% (24 lines)
Duplication per Component (primary)
templates35% (1,026 lines)
templates/automation-docs93% (258 lines)
scripts29% (24 lines)

Duplication Between Components (50+ lines)

G templates/automation-docs templates/automation-docs templates templates templates/automation-docs--templates 412

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 151 duplicates...
Size#FoldersFilesLinesCode
57 x 2 templates
templates
ecs-asg-lch.template.yaml
iis-workload.template.yaml
141:197 (11%)
159:215 (15%)
view
41 x 2 templates
templates
ec2-asg-lch.template.yaml
ecs-asg-lch.template.yaml
220:260 (15%)
332:372 (8%)
view
36 x 2 templates
templates
automation-parts.template.yaml
automation-parts.template.yaml
532:567 (5%)
608:643 (5%)
view
32 x 2 templates/automation-docs
templates
instanceconfig.yaml
automation-parts.template.yaml
14:45 (15%)
352:383 (4%)
view
31 x 2 templates/automation-docs
templates/automation-docs
domainremoval.yaml
instanceconfig.yaml
41:71 (43%)
176:206 (15%)
view
29 x 2 templates/automation-docs
templates/automation-docs
instanceconfig.yaml
instanceconfig.yaml
129:157 (14%)
159:187 (14%)
view
27 x 2 templates/automation-docs
templates
domainremoval.yaml
automation-parts.template.yaml
41:67 (38%)
612:638 (4%)
view
27 x 2 templates/automation-docs
templates
domainremoval.yaml
automation-parts.template.yaml
41:67 (38%)
536:562 (4%)
view
27 x 2 templates/automation-docs
templates
instanceconfig.yaml
automation-parts.template.yaml
176:202 (13%)
536:562 (4%)
view
27 x 2 templates/automation-docs
templates
instanceconfig.yaml
automation-parts.template.yaml
176:202 (13%)
612:638 (4%)
view
19 x 2 templates/automation-docs
templates/automation-docs
domainremoval.yaml
instanceconfig.yaml
4:22 (26%)
4:22 (9%)
view
19 x 2 templates
templates
automation-parts.template.yaml
automation-parts.template.yaml
100:119 (2%)
164:182 (2%)
view
18 x 2 templates/automation-docs
templates
domainremoval.yaml
automation-parts.template.yaml
14:31 (25%)
586:603 (2%)
view
18 x 2 templates/automation-docs
templates/automation-docs
domainremoval.yaml
instanceconfig.yaml
35:52 (25%)
110:127 (8%)
view
18 x 2 templates/automation-docs
templates
instanceconfig.yaml
automation-parts.template.yaml
69:86 (8%)
414:431 (2%)
view
17 x 2 templates
templates
automation-parts.template.yaml
automation-parts.template.yaml
344:360 (2%)
578:594 (2%)
view
16 x 2 templates
templates
automation-parts.template.yaml
automation-parts.template.yaml
457:472 (2%)
532:547 (2%)
view
16 x 2 templates
templates
automation-parts.template.yaml
automation-parts.template.yaml
457:472 (2%)
608:623 (2%)
view
16 x 2 templates
templates
ec2-asg-lch.template.yaml
ecs-asg-lch.template.yaml
85:100 (5%)
201:216 (3%)
view
15 x 2 templates
templates
iis-main.template.yaml
iis-main.template.yaml
282:296 (2%)
386:400 (2%)
view