primer / github-vscode-theme
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
  • 10% duplication:
    • 1,078 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 118 duplicated lines
  • 7 duplicates
system10% (118 lines)
Duplication per Extension
js10% (118 lines)
Duplication per Component (primary)
src10% (118 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
11 x 2 src/classic
src
532:543 (2%)
554:565 (2%)
view
9 x 2 src/classic
src
395:404 (1%)
417:426 (1%)
view
8 x 2 src/classic
src
481:489 (1%)
503:511 (1%)
view
8 x 2 src/classic
src
290:298 (1%)
312:320 (1%)
view
8 x 2 src/classic
src
300:308 (1%)
322:330 (1%)
view
8 x 2 src/classic
src
470:478 (1%)
492:500 (1%)
view
7 x 2 src/classic
src
249:256 (1%)
249:256 (1%)
view