pytorch / ort
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
  • 9% duplication:
    • 736 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 73 duplicated lines
  • 4 duplicates
system9% (73 lines)
Duplication per Extension
yml20% (73 lines)
Duplication per Component (primary)
tools/ci_build/github/azure-pipelines20% (67 lines)
ROOT5% (6 lines)
tools/ci_build0% (0 lines)
tools/ci_build/github/linux0% (0 lines)
tools/python/util0% (0 lines)
tools/python0% (0 lines)
torch_ort/experimental0% (0 lines)
torch_ort/experimental/json_config0% (0 lines)
torch_ort/configure0% (0 lines)
torch_ort0% (0 lines)
Longest Duplicates
The list of 4 longest duplicates.
See data for all 4 duplicates...
Size#FoldersFilesLinesCode
14 x 2 tools/ci_build/github/azure-pipelines
tools/ci_build/github/azure-pipelines
packaging-pipeline-nightly.yml
packaging-pipeline-stable.yml
37:53 (35%)
26:42 (38%)
view
10 x 2 tools/ci_build/github/azure-pipelines
tools/ci_build/github/azure-pipelines
packaging-pipeline-nightly.yml
packaging-pipeline-stable.yml
1:11 (25%)
1:11 (27%)
view
9 x 2 tools/ci_build/github/azure-pipelines
tools/ci_build/github/azure-pipelines/templates
ci-pipeline.yml
packaging-pipeline-steps.yml
50:59 (16%)
49:58 (11%)
view
6 x 2 ROOT
tools/ci_build/github/azure-pipelines
azure-pipelines.yml
ci-pipeline.yml
36:41 (17%)
49:54 (10%)
view