microsoft / ShaderConductor
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
  • 5% duplication:
    • 1,833 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 94 duplicated lines
  • 17 duplicates
system5% (94 lines)
Duplication per Extension
yml23% (62 lines)
hpp11% (16 lines)
cs12% (16 lines)
Duplication per Component (primary)
ROOT13% (62 lines)
Include/ShaderConductor11% (16 lines)
Source/Wrapper6% (16 lines)
CI/AzurePipelines0% (0 lines)
External0% (0 lines)
Source/Core0% (0 lines)
Source/Tools0% (0 lines)
Longest Duplicates
The list of 17 longest duplicates.
See data for all 17 duplicates...
Size#FoldersFilesLinesCode
11 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
45:56 (4%)
65:76 (4%)
view
11 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
104:115 (4%)
123:134 (4%)
view
11 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
45:56 (4%)
84:95 (4%)
view
11 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
65:76 (4%)
84:95 (4%)
view
8 x 2 Include/ShaderConductor
Source/Wrapper
ShaderConductor.hpp
Wrapper.cs
59:67 (5%)
57:65 (8%)
view
8 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
48:56 (3%)
107:115 (3%)
view
8 x 2 Include/ShaderConductor
Source/Wrapper
ShaderConductor.hpp
Wrapper.cs
71:80 (5%)
69:78 (8%)
view
8 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
68:76 (3%)
107:115 (3%)
view
8 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
68:76 (3%)
126:134 (3%)
view
8 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
87:95 (3%)
126:134 (3%)
view
8 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
48:56 (3%)
126:134 (3%)
view
8 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
87:95 (3%)
107:115 (3%)
view
7 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
127:134 (2%)
147:154 (2%)
view
7 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
108:115 (2%)
147:154 (2%)
view
7 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
69:76 (2%)
147:154 (2%)
view
7 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
49:56 (2%)
147:154 (2%)
view
7 x 2 ROOT
ROOT
azure-pipelines.yml
azure-pipelines.yml
88:95 (2%)
147:154 (2%)
view