aws-quickstart / quickstart-fsx-windows-file-server
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
  • 12% duplication:
    • 949 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 116 duplicated lines
  • 7 duplicates
system12% (116 lines)
Duplication per Extension
yaml12% (116 lines)
Duplication per Component (primary)
templates12% (116 lines)
ci0% (0 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
12 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows-master.yaml
138:149 (2%)
166:177 (2%)
view
10 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows-master.yaml
494:503 (1%)
510:519 (1%)
view
10 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows-master.yaml
455:464 (1%)
470:479 (1%)
view
7 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows.yaml
39:45 (1%)
15:21 (1%)
view
7 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows.yaml
255:261 (1%)
149:155 (1%)
view
6 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows.yaml
6:11 (1%)
6:11 (1%)
view
6 x 2 templates
templates
fsx-windows-master.yaml
fsx-windows.yaml
262:267 (1%)
110:115 (1%)
view