Linux / Block
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
  • 2% duplication:
    • 32,716 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 713 duplicated lines
  • 54 duplicates
system2% (713 lines)
Duplication per Extension
c2% (701 lines)
h<1% (12 lines)
Duplication per Component (primary)
ROOT2% (641 lines)
partitions1% (72 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 54 duplicates...
Size#FoldersFilesLinesCode
15 x 2 ROOT
ROOT
1795:1811 (<1%)
1854:1870 (<1%)
view
12 x 2 ROOT
ROOT
7235:7246 (<1%)
7267:7278 (<1%)
view
12 x 2 ROOT
ROOT
151:162 (<1%)
810:821 (3%)
view
12 x 2 ROOT
ROOT
3168:3183 (<1%)
3335:3350 (<1%)
view
10 x 2 ROOT
ROOT
2143:2158 (<1%)
2171:2186 (<1%)
view
9 x 2 ROOT
ROOT
7338:7349 (<1%)
7360:7371 (<1%)
view
9 x 2 ROOT
ROOT
76:100 (2%)
355:366 (2%)
view
9 x 2 ROOT
ROOT
937:945 (1%)
1201:1209 (1%)
view
9 x 2 ROOT
ROOT
3272:3281 (<1%)
3397:3407 (<1%)
view
9 x 2 partitions
partitions
933:942 (1%)
1010:1019 (1%)
view
8 x 2 ROOT
ROOT
81:88 (5%)
176:183 (5%)
view
8 x 2 ROOT
ROOT
90:98 (5%)
185:192 (5%)
view
8 x 2 ROOT
ROOT
351:361 (2%)
409:419 (2%)
view
8 x 2 ROOT
ROOT
943:950 (1%)
1075:1082 (1%)
view
8 x 2 ROOT
ROOT
357:369 (1%)
391:403 (1%)
view
8 x 2 ROOT
ROOT
168:175 (1%)
170:177 (6%)
view
8 x 2 ROOT
ROOT
135:143 (5%)
185:193 (5%)
view
8 x 2 ROOT
ROOT
3204:3211 (<1%)
3366:3373 (<1%)
view
8 x 2 ROOT
ROOT
921:928 (1%)
1053:1060 (1%)
view
8 x 2 ROOT
ROOT
2170:2179 (<1%)
2188:2197 (<1%)
view
7 x 2 ROOT
ROOT
193:199 (4%)
218:224 (4%)
view
7 x 2 ROOT
ROOT
594:600 (<1%)
610:616 (<1%)
view
7 x 2 ROOT
ROOT
1130:1138 (<1%)
1180:1188 (<1%)
view
7 x 2 ROOT
ROOT
775:781 (1%)
788:794 (1%)
view
7 x 2 ROOT
ROOT
7315:7323 (<1%)
7338:7346 (<1%)
view
7 x 2 ROOT
ROOT
528:535 (1%)
897:904 (1%)
view
7 x 2 ROOT
ROOT
1605:1613 (<1%)
1631:1639 (<1%)
view
7 x 2 ROOT
ROOT
503:510 (1%)
520:527 (1%)
view
7 x 2 partitions
partitions
33:41 (2%)
51:59 (2%)
view
7 x 2 partitions
partitions
91:97 (3%)
249:255 (1%)
view
7 x 2 ROOT
ROOT
1752:1760 (<1%)
1760:1768 (<1%)
view
7 x 2 ROOT
ROOT
55:62 (3%)
77:84 (3%)
view
7 x 2 ROOT
ROOT
7287:7295 (<1%)
7315:7323 (<1%)
view
7 x 2 ROOT
ROOT
112:120 (4%)
206:214 (4%)
view
7 x 2 ROOT
ROOT
424:432 (<1%)
1407:1415 (<1%)
view
7 x 2 partitions
partitions
118:126 (3%)
143:151 (3%)
view
7 x 2 ROOT
ROOT
7287:7295 (<1%)
7360:7368 (<1%)
view
7 x 2 ROOT
ROOT
7315:7323 (<1%)
7360:7368 (<1%)
view
7 x 2 ROOT
ROOT
7287:7295 (<1%)
7338:7346 (<1%)
view
7 x 2 ROOT
ROOT
193:202 (1%)
316:324 (1%)
view
7 x 2 ROOT
ROOT
469:476 (1%)
486:493 (1%)
view
6 x 2 ROOT
ROOT
543:550 (1%)
612:619 (1%)
view
6 x 2 ROOT
ROOT
486:492 (1%)
503:509 (1%)
view
6 x 2 ROOT
ROOT
187:193 (1%)
353:359 (1%)
view
6 x 2 ROOT
ROOT
1504:1512 (<1%)
1544:1552 (<1%)
view
6 x 2 ROOT
ROOT
486:492 (1%)
520:526 (1%)
view
6 x 2 ROOT
ROOT
34:43 (37%)
35:43 (37%)
view
6 x 2 ROOT
ROOT
469:475 (1%)
503:509 (1%)
view
6 x 2 ROOT
ROOT
205:213 (2%)
279:287 (2%)
view
6 x 2 ROOT
ROOT
511:516 (<1%)
540:545 (<1%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
6 x 2 partitions
partitions
409:415 
417:423 
view