korosuke613 / lgtmoon
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
  • 15% duplication:
    • 1,146 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 174 duplicated lines
  • 7 duplicates
system15% (174 lines)
Duplication per Extension
html62% (96 lines)
vue13% (64 lines)
scala3% (14 lines)
Duplication per Component (primary)
app18% (87 lines)
frontend15% (87 lines)
project0% (0 lines)
public0% (0 lines)
conf0% (0 lines)
ROOT0% (0 lines)
sql0% (0 lines)

Duplication Between Components (50+ lines)

null

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
39 x 2 app/views/module
frontend/src/components
1:61 (60%)
3:63 (51%)
view
11 x 2 app/views/module
frontend/src/components
85:101 (16%)
96:110 (14%)
view
10 x 2 app/views/ad
frontend/public
2:11 (90%)
57:66 (18%)
view
7 x 2 app/domain/image
app/domain/image
68:74 (10%)
82:88 (10%)
view
7 x 2 frontend/src/components
frontend/src/components
36:42 (10%)
12:18 (35%)
view
7 x 2 app/views/ad
frontend/public
4:11 (70%)
43:50 (13%)
view
6 x 2 app/views/header/google
frontend/public
1:6 (100%)
20:25 (11%)
view