Duplication Overall
  • 3% duplication:
    • 4,102 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 159 duplicated lines
  • 9 duplicates
system3% (159 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
js3% (159 lines)
Duplication per Component (primary)
src3% (159 lines)
Longest Duplicates
The list of 9 longest duplicates.
See data for all 9 duplicates...
Size#FoldersFilesLinesCode
16 x 2 src/physics
src/physics
366:384 (4%)
414:432 (4%)
view
13 x 2 src/dns
src/global
56:78 (30%)
98:120 (13%)
view
11 x 2 src/base
src/base
35:45 (15%)
41:51 (15%)
view
9 x 2 src/base
src/base
102:118 (12%)
142:158 (9%)
view
8 x 2 src/base
src/base
209:219 (1%)
558:568 (1%)
view
7 x 2 src/dns
src/focused
38:45 (23%)
105:112 (2%)
view
6 x 2 src/dns
src/global
31:36 (13%)
33:38 (6%)
view
6 x 2 src/dns
src/focused
27:32 (20%)
63:69 (2%)
view
6 x 2 src/base
src/base/shapes
35:41 (4%)
27:33 (11%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
6 x 2 src/base
src/base/shapes
35:42 
27:34 
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...