github / safe-settings
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
  • 18% duplication:
    • 1,664 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 310 duplicated lines
  • 37 duplicates
system18% (310 lines)
Duplication per Extension
js19% (310 lines)
Duplication per Component (primary)
lib15% (194 lines)
ROOT26% (116 lines)
Longest Duplicates
The list of 37 longest duplicates.
See data for all 37 duplicates...
Size#FoldersFilesLinesCode
11 x 2 lib/plugins
lib
29:41 (21%)
22:34 (27%)
view
11 x 2 lib
lib
366:380 (2%)
393:407 (2%)
view
11 x 2 ROOT
ROOT
26:37 (3%)
78:89 (3%)
view
11 x 2 ROOT
ROOT
52:63 (3%)
78:89 (3%)
view
11 x 2 lib
lib
339:353 (2%)
423:437 (2%)
view
11 x 2 lib
lib
339:353 (2%)
366:380 (2%)
view
11 x 2 lib
lib
325:337 (2%)
500:512 (2%)
view
11 x 2 lib
lib
423:437 (2%)
472:485 (2%)
view
11 x 2 lib
lib
366:380 (2%)
472:485 (2%)
view
11 x 2 ROOT
ROOT
26:37 (3%)
52:63 (3%)
view
11 x 2 ROOT
lib
127:148 (3%)
23:44 (44%)
view
11 x 2 lib
lib
339:353 (2%)
393:407 (2%)
view
11 x 2 lib
lib
393:407 (2%)
423:437 (2%)
view
11 x 2 lib
lib
393:407 (2%)
472:485 (2%)
view
11 x 2 lib
lib
339:353 (2%)
472:485 (2%)
view
11 x 2 lib
lib
366:380 (2%)
423:437 (2%)
view
10 x 2 lib/plugins
lib
13:23 (19%)
11:21 (25%)
view
10 x 2 lib/plugins
lib
47:60 (19%)
35:47 (25%)
view
9 x 2 ROOT
ROOT
380:389 (2%)
401:412 (2%)
view
8 x 2 ROOT
ROOT
174:182 (2%)
193:201 (2%)
view
7 x 2 ROOT
ROOT
155:162 (1%)
212:219 (1%)
view
7 x 2 lib/plugins
lib/plugins
31:38 (13%)
49:56 (13%)
view
7 x 2 lib/plugins
lib
49:56 (13%)
24:31 (17%)
view
7 x 2 lib/plugins
lib/plugins
22:30 (7%)
32:40 (7%)
view
7 x 2 ROOT
ROOT
355:361 (1%)
378:384 (1%)
view
7 x 2 lib
lib
24:31 (17%)
37:44 (17%)
view
7 x 2 lib/plugins
lib
31:38 (13%)
37:44 (17%)
view
7 x 2 ROOT
ROOT
14:20 (1%)
69:76 (1%)
view
6 x 2 lib
lib
301:306 (1%)
348:353 (1%)
view
6 x 2 lib
lib
301:306 (1%)
402:407 (1%)
view
6 x 2 ROOT
ROOT
157:163 (1%)
195:201 (1%)
view
6 x 2 lib
lib
301:306 (1%)
480:485 (1%)
view
6 x 2 ROOT
ROOT
157:163 (1%)
176:182 (1%)
view
6 x 2 lib/plugins
lib/plugins
38:47 (9%)
52:61 (9%)
view
6 x 2 lib
lib
301:306 (1%)
375:380 (1%)
view
6 x 2 lib
lib
301:306 (1%)
432:437 (1%)
view
6 x 2 lib
lib
266:272 (1%)
287:294 (1%)
view