microsoft / Guestivus
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
  • 25% duplication:
    • 3,698 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 943 duplicated lines
  • 18 duplicates
system25% (943 lines)
Duplication per Extension
css24% (827 lines)
html54% (116 lines)
Duplication per Component (primary)
src/App/js/jstree/themes/default-dark28% (326 lines)
src/App/js/jstree/themes/default30% (326 lines)
src/App/css53% (157 lines)
src/App49% (116 lines)
src/App/css/line-awesome/css2% (18 lines)
GuestivusLib0% (0 lines)
src/App/js0% (0 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

G src/App/js/jstree/themes/default-dark src/App/js/jstree/themes/default-dark src/App/js/jstree/themes/default src/App/js/jstree/themes/default src/App/js/jstree/themes/default-dark--src/App/js/jstree/themes/default 652

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 18 longest duplicates.
See data for all 18 duplicates...
Size#FoldersFilesLinesCode
288 x 2 src/App/js/jstree/themes/default-dark
src/App/js/jstree/themes/default
style.css
style.css
2:291 (25%)
2:291 (26%)
view
36 x 2 src/App/css
src/App/css
main - Copy (2).css
main.css
66:108 (38%)
69:111 (31%)
view
32 x 2 src/App/js/jstree/themes/default-dark
src/App/js/jstree/themes/default
style.css
style.css
926:957 (2%)
926:957 (2%)
view
26 x 2 src/App
src/App
index - Copy.html
index.html
85:118 (35%)
184:217 (18%)
view
22 x 2 src/App
src/App
index - Copy.html
index.html
1:28 (29%)
1:27 (16%)
view
13 x 2 src/App/css
src/App/css
main - Copy (2).css
main.css
4:18 (13%)
4:18 (11%)
view
12 x 2 src/App/css
src/App/css
main - Copy (2).css
main.css
19:32 (12%)
20:33 (10%)
view
11 x 2 src/App/css
src/App/css
main - Copy (2).css
main.css
37:50 (11%)
38:51 (9%)
view
9 x 2 src/App/css/line-awesome/css
src/App/css/line-awesome/css
line-awesome.css
line-awesome.css
110:118 (1%)
120:128 (1%)
view
7 x 2 src/App
src/App
index.html
index.html
102:113 (5%)
129:140 (5%)
view
7 x 2 src/App/js/jstree/themes/default
src/App/js/jstree/themes/default
style.css
style.css
34:40 (<1%)
42:48 (<1%)
view
7 x 2 src/App/js/jstree/themes/default-dark
src/App/js/jstree/themes/default
style.css
style.css
42:48 (<1%)
34:40 (<1%)
view
7 x 2 src/App/js/jstree/themes/default-dark
src/App/js/jstree/themes/default
style.css
style.css
34:40 (<1%)
42:48 (<1%)
view
7 x 2 src/App/js/jstree/themes/default-dark
src/App/js/jstree/themes/default-dark
style.css
style.css
34:40 (<1%)
42:48 (<1%)
view
7 x 2 src/App/css
src/App/css
main - Copy (2).css
main - Copy.css
108:117 (7%)
92:99 (8%)
view
6 x 2 src/App
src/App
index.html
index.html
102:107 (4%)
156:161 (4%)
view
6 x 2 src/App
src/App
index.html
index.html
129:134 (4%)
156:161 (4%)
view
6 x 2 src/App/js/jstree/themes/default-dark
src/App/js/jstree/themes/default
style.css
style.css
972:977 (<1%)
972:977 (<1%)
view