microsoft / vssnapshotdebugger-docker
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
  • 11% duplication:
    • 269 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 30 duplicated lines
  • 6 duplicates
system11% (30 lines)
Duplication per Extension
ps115% (30 lines)
Duplication per Component (primary)
scripts13% (30 lines)
ROOT0% (0 lines)
scripts/hooks0% (0 lines)
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
8 x 2 scripts
scripts
UpdateChecksums.ps1
UpdateReleasesMarkdown.ps1
1:11 (22%)
1:11 (28%)
view
8 x 2 scripts
scripts
UpdateReadmeMarkdown.ps1
UpdateReleasesMarkdown.ps1
1:11 (61%)
1:11 (28%)
view
8 x 2 scripts
scripts
UpdateChecksums.ps1
UpdateReadmeMarkdown.ps1
1:11 (22%)
1:11 (61%)
view
6 x 2 scripts
scripts
UpdateChecksums.ps1
UpdateDockerfiles.ps1
2:9 (16%)
10:17 (9%)
view
6 x 2 scripts
scripts
UpdateDockerfiles.ps1
UpdateReleasesMarkdown.ps1
10:17 (9%)
2:9 (21%)
view
6 x 2 scripts
scripts
UpdateDockerfiles.ps1
UpdateReadmeMarkdown.ps1
10:17 (9%)
2:9 (46%)
view