microsoft / Atlas
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
  • <1% duplication:
    • 3,420 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 14 duplicated lines
  • 1 duplicates
system<1% (14 lines)
Duplication per Extension
cmd24% (14 lines)
Duplication per Component (primary)
src/Tasks36% (14 lines)
ROOT0% (0 lines)
library/azure-deployment0% (0 lines)
src/Microsoft.Atlas.CommandLine/Abstractions0% (0 lines)
src/Microsoft.Atlas.CommandLine/Accounts0% (0 lines)
src/Microsoft.Atlas.CommandLine0% (0 lines)
src/Microsoft.Atlas.CommandLine/Blueprints0% (0 lines)
src/Microsoft.Atlas.CommandLine/Commands0% (0 lines)
src/Microsoft.Atlas.CommandLine/ConsoleOutput0% (0 lines)
src/Microsoft.Atlas.CommandLine/Execution0% (0 lines)
src/Microsoft.Atlas.CommandLine/Factories0% (0 lines)
src/Microsoft.Atlas.CommandLine/JsonClient0% (0 lines)
src/Microsoft.Atlas.CommandLine/Models0% (0 lines)
src/Microsoft.Atlas.CommandLine/OAuth20% (0 lines)
src/Microsoft.Atlas.CommandLine/Queries0% (0 lines)
src/Microsoft.Atlas.CommandLine/Secrets0% (0 lines)
src/Microsoft.Atlas.CommandLine/Serialization0% (0 lines)
src/Microsoft.Atlas.CommandLine/Swagger0% (0 lines)
src/Microsoft.Atlas.CommandLine/Targets0% (0 lines)
src/Microsoft.Atlas.CommandLine/Templates0% (0 lines)
src/Tasks/AtlasInstallerV00% (0 lines)
src/Tasks/AtlasV00% (0 lines)
Longest Duplicates
The list of 1 longest duplicates.
See data for all 1 duplicate
Size#FoldersFilesLinesCode
7 x 2 src/Tasks
src/Tasks
cmd
build.cmd
build.cmd
7:16 (29%)
20:29 (29%)
view