Duplication Overall
  • 6% duplication:
    • 5,311 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 361 duplicated lines
  • 26 duplicates
system6% (361 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts9% (120 lines)
mjs7% (115 lines)
cc4% (100 lines)
h6% (26 lines)
Duplication per Component (primary)
scripts9% (194 lines)
packages5% (167 lines)
hmr-comparison0% (0 lines)
Longest Duplicates
The list of 26 longest duplicates.
See data for all 26 duplicates...
Size#FoldersFilesLinesCode
17 x 2 packages/internal-loader/entry
packages/require-builtin/entry
5:30 (100%)
5:30 (100%)
view
14 x 2 scripts
scripts
16:29 (20%)
10:23 (36%)
view
13 x 2 scripts
scripts
20:32 (39%)
16:28 (39%)
view
12 x 2 packages/native/src/runtime_context
packages/native/src/runtime_context
41:54 (18%)
82:95 (18%)
view
12 x 2 scripts
scripts
66:77 (17%)
48:60 (21%)
view
9 x 2 scripts
scripts
9:17 (27%)
5:13 (27%)
view
8 x 2 scripts
scripts
35:45 (24%)
31:41 (24%)
view
7 x 2 packages/native/src/runtime_probe
packages/native/src/runtime_probe
122:129 (1%)
404:411 (1%)
view
7 x 2 scripts
scripts
56:62 (10%)
64:70 (10%)
view
7 x 2 packages/native/src
packages/native/src
85:91 (5%)
113:119 (5%)
view
7 x 2 packages/loader
scripts
358:365 (1%)
184:191 (2%)
view
7 x 2 packages/native/src
packages/native/src
197:203 (4%)
119:125 (9%)
view
7 x 2 scripts
scripts
23:29 (10%)
43:49 (3%)
view
7 x 2 scripts
scripts
17:23 (18%)
43:49 (3%)
view
6 x 2 scripts
scripts
69:74 (1%)
89:94 (1%)
view
6 x 2 packages/native/src/runtime_probe
packages/native/src/runtime_probe
190:195 (1%)
485:491 (1%)
view
6 x 2 packages/native/src/runtime_probe
packages/native/src/runtime_probe
588:596 (1%)
692:707 (1%)
view
6 x 2 packages/native/src
packages/native/src
76:81 (4%)
107:112 (4%)
view
6 x 2 scripts
scripts
263:268 (1%)
271:276 (1%)
view
6 x 2 packages/native/src/runtime_probe
packages/native/src/runtime_probe
146:151 (1%)
158:163 (1%)
view
6 x 2 packages/native/src
packages/native/src
148:159 (4%)
85:96 (8%)
view
6 x 2 scripts
scripts
18:23 (15%)
15:20 (10%)
view
6 x 2 scripts
scripts
24:29 (8%)
15:20 (10%)
view
6 x 2 scripts
scripts
329:334 (2%)
38:43 (4%)
view
6 x 2 scripts
scripts
15:20 (10%)
44:49 (2%)
view
6 x 2 scripts
scripts
45:50 (10%)
21:26 (2%)
view
Most Frequent Duplicates
The list of 2 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 4 scripts
scripts
scripts
scripts
24:29 (8%)
18:23 (15%)
15:20 (10%)
44:49 (2%)
view
6 x 3 scripts
scripts
scripts
23:28 (8%)
17:22 (15%)
43:48 (2%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
7 x 2 scripts
packages/loader
184:192 
358:366 
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...