aws-quickstart / quickstart-microsoft-sql-fci-fsx
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
  • 79% duplication:
    • 3,869 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 3,091 duplicated lines
  • 413 duplicates
system79% (3,091 lines)
Duplication per Extension
yaml86% (2,984 lines)
ps126% (107 lines)
Duplication per Component (primary)
templates86% (2,984 lines)
scripts26% (107 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 413 duplicates...
Size#FoldersFilesLinesCode
280 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
600:894 (19%)
583:877 (19%)
view
245 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
1081:1332 (17%)
1076:1327 (17%)
view
210 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
354:565 (14%)
346:557 (14%)
view
140 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
909:1056 (9%)
927:1074 (9%)
view
78 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
1337:1414 (5%)
1323:1400 (5%)
view
77 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
124:200 (5%)
121:197 (5%)
view
65 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
203:268 (4%)
206:271 (4%)
view
50 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
1416:1466 (3%)
1413:1463 (3%)
view
46 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
271:316 (3%)
269:314 (3%)
view
46 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
29:74 (3%)
28:73 (3%)
view
34 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx-main.template.yaml
35:68 (2%)
50:83 (5%)
view
34 x 2 templates
templates
mssqlfsx-main.template.yaml
mssqlfsx.template.yaml
50:83 (5%)
34:67 (2%)
view
27 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx.template.yaml
326:352 (1%)
318:344 (1%)
view
24 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx-main.template.yaml
281:304 (1%)
426:449 (3%)
view
24 x 2 templates
templates
mssqlfsx-main.template.yaml
mssqlfsx.template.yaml
426:449 (3%)
279:302 (1%)
view
22 x 2 templates
templates
mssqlfsx-main.template.yaml
mssqlfsx.template.yaml
391:412 (3%)
205:226 (1%)
view
21 x 2 templates
templates
mssqlfsx-mad.template.yaml
mssqlfsx-main.template.yaml
203:223 (1%)
392:412 (3%)
view
17 x 2 templates
templates
mssqlfsx-main.template.yaml
mssqlfsx-main.template.yaml
559:575 (2%)
587:603 (2%)
view
16 x 2 scripts
scripts
AdditionalNodeConfig.ps1
Node1Config.ps1
57:75 (21%)
73:91 (16%)
view
16 x 2 templates
templates
mssqlfsx-main.template.yaml
mssqlfsx.template.yaml
154:169 (2%)
118:133 (1%)
view