microsoft / vott-react
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
  • 6% duplication:
    • 712 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 45 duplicated lines
  • 4 duplicates
system6% (45 lines)
Duplication per Extension
yml37% (45 lines)
Duplication per Component (primary)
azure-pipelines/mac100% (12 lines)
azure-pipelines/windows100% (12 lines)
ROOT22% (12 lines)
azure-pipelines/linux21% (9 lines)
src/assets0% (0 lines)
src/common0% (0 lines)
src/components0% (0 lines)
src0% (0 lines)
src/models0% (0 lines)
stories0% (0 lines)
Longest Duplicates
The list of 4 longest duplicates.
See data for all 4 duplicates...
Size#FoldersFilesLinesCode
12 x 2 azure-pipelines/mac
azure-pipelines/windows
continuous-build-mac.yml
continuous-build-windows.yml
5:19 (100%)
5:20 (100%)
view
9 x 2 azure-pipelines/linux
azure-pipelines/windows
continuous-build-linux.yml
continuous-build-windows.yml
17:28 (30%)
6:17 (75%)
view
9 x 2 azure-pipelines/linux
azure-pipelines/mac
continuous-build-linux.yml
continuous-build-mac.yml
17:28 (30%)
6:17 (75%)
view
6 x 2 ROOT
ROOT
azure-pipelines.yml
release-pipelines.yml
6:11 (22%)
8:13 (46%)
view