Duplication Overall
  • 5% duplication:
    • 2,006 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 104 duplicated lines
  • 6 duplicates
system5% (104 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
tsx8% (69 lines)
ts3% (35 lines)
Duplication per Component (primary)
components6% (40 lines)
app5% (39 lines)
hooks5% (15 lines)
services8% (10 lines)
ROOT0% (0 lines)
types0% (0 lines)
lib0% (0 lines)
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
15 x 2 app
hooks
26:40 (11%)
160:174 (10%)
view
10 x 2 app/api/photobooth
services
132:143 (3%)
131:142 (8%)
view
7 x 2 app
app
130:136 (5%)
139:145 (5%)
view
7 x 2 components/ui
components/ui
38:44 (6%)
55:61 (6%)
view
7 x 2 components/photobooth
components/photobooth
34:40 (18%)
32:38 (21%)
view
6 x 2 components/photobooth
components/photobooth
14:19 (16%)
14:19 (18%)
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...