Duplication Overall
  • 2% duplication:
    • 4,202 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 116 duplicated lines
  • 8 duplicates
system2% (116 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts3% (72 lines)
tsx3% (44 lines)
Duplication per Component (primary)
src3% (116 lines)
ROOT0% (0 lines)
server0% (0 lines)
arduino0% (0 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 8 longest duplicates.
See data for all 8 duplicates...
Size#FoldersFilesLinesCode
10 x 2 src/lib/plant
src/lib/plant
97:107 (4%)
127:137 (4%)
view
8 x 2 src/components/public/webgl
src/components/public/webgl
15:24 (3%)
15:24 (4%)
view
7 x 2 src/stores/plant
src/stores/plant
125:131 (4%)
141:147 (4%)
view
7 x 2 src/stores/plant
src/stores/plant
28:34 (4%)
19:26 (4%)
view
7 x 2 src/components/dashboard
src/components/dashboard
91:98 (6%)
173:180 (3%)
view
7 x 2 src/components/public/webgl
src/components/public/webgl
193:199 (3%)
181:187 (3%)
view
6 x 2 src/stores/plant
src/stores/plant
20:25 (9%)
70:75 (9%)
view
6 x 2 src/lib/plant
src/lib/plant
10:15 (8%)
69:74 (8%)
view
About This Analysis
  • 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...