aws-quickstart / quickstart-vfx-workstation-windows
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
  • 35% duplication:
    • 309 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 109 duplicated lines
  • 5 duplicates
system35% (109 lines)
Duplication per Extension
ps126% (71 lines)
yml100% (38 lines)
Duplication per Component (primary)
scripts26% (71 lines)
ci100% (38 lines)
Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
19 x 2 ci
ci
config.yml
taskcat.yml
1:20 (100%)
1:20 (100%)
view
19 x 2 scripts
scripts
install-teradici.ps1
install-wacom-drivers.ps1
19:37 (32%)
19:37 (40%)
view
19 x 2 scripts
scripts
install-packages.ps1
install-wacom-drivers.ps1
18:36 (42%)
19:37 (40%)
view
19 x 2 scripts
scripts
install-packages.ps1
install-teradici.ps1
18:36 (42%)
19:37 (32%)
view
7 x 2 scripts
scripts
install-teradici.ps1
install-wacom-drivers.ps1
8:16 (11%)
8:16 (14%)
view