alibaba / pairec
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system21% (10,966 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go23% (10,538 lines)
proto7% (428 lines)
Duplication per Component (primary)
module43% (4,407 lines)
pkg15% (2,530 lines)
service30% (1,806 lines)
algorithm27% (1,343 lines)
sort10% (320 lines)
web17% (164 lines)
datasource5% (157 lines)
commands17% (65 lines)
config31% (60 lines)
filter4% (55 lines)
recconf2% (30 lines)
utils1% (20 lines)
middleware4% (9 lines)
ROOT0% (0 lines)
constants0% (0 lines)
persist0% (0 lines)
context0% (0 lines)
abtest0% (0 lines)
log0% (0 lines)

Duplication Between Components (50+ lines)

G algorithm algorithm pkg pkg algorithm--pkg 2526 commands commands web web commands--web 118

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 19,303 duplicates...
Size#FoldersFilesLinesCode
126 x 2 algorithm/eas/easyrec
algorithm/eas/easyrec
249:388 (28%)
400:539 (28%)
view
84 x 2 algorithm/eas/easyrec
pkg/eas/types/tf_predict_protos
16:116 (3%)
18:118 (19%)
view
51 x 2 algorithm/eas/easyrec
pkg/eas/types/tf_predict_protos
8:58 (22%)
10:70 (60%)
view
48 x 2 algorithm/eas/easyrec
pkg/eas/types/torch_predict_protos
8:55 (21%)
6:62 (76%)
view
48 x 2 pkg/eas/types/tf_predict_protos
pkg/eas/types/torch_predict_protos
10:66 (56%)
6:62 (76%)
view
42 x 2 module
module
71:130 (50%)
73:132 (47%)
view
42 x 2 module
module
71:130 (50%)
71:130 (50%)
view
42 x 2 module
module
79:139 (47%)
71:130 (50%)
view
42 x 2 module
module
79:139 (47%)
73:132 (47%)
view
42 x 2 module
module
79:139 (47%)
71:130 (50%)
view
42 x 2 module
module
71:130 (50%)
73:132 (47%)
view
41 x 2 module
module
63:116 (37%)
72:124 (21%)
view
40 x 2 module
module
255:316 (17%)
314:372 (15%)
view
37 x 2 service
service
128:181 (18%)
244:312 (18%)
view
37 x 2 module
module
152:202 (17%)
153:203 (16%)
view
35 x 2 module
module
71:120 (46%)
54:104 (53%)
view
35 x 2 module
module
71:120 (46%)
66:115 (50%)
view
35 x 2 module
module
66:115 (50%)
54:104 (53%)
view
34 x 2 service/recall
service/recall
33:72 (52%)
34:75 (50%)
view
33 x 2 module
module
79:121 (42%)
106:148 (34%)
view
33 x 2 module
module
68:115 (47%)
71:117 (43%)
view
33 x 2 module
module
56:104 (50%)
71:117 (43%)
view
33 x 2 service/recall
service/recall
97:136 (23%)
97:136 (22%)
view
33 x 2 module
module
73:120 (43%)
71:117 (43%)
view
32 x 2 module
module
87:130 (38%)
61:104 (49%)
view
32 x 2 module
module
87:130 (38%)
61:104 (49%)
view
32 x 2 algorithm/eas/easyrec
pkg/eas/types/tf_predict_protos
286:339 (1%)
239:292 (7%)
view
32 x 2 module
module
87:130 (38%)
75:117 (42%)
view
32 x 2 module
module
87:130 (38%)
72:115 (45%)
view
32 x 2 module
module
80:121 (41%)
73:113 (43%)
view
32 x 2 module
module
77:120 (42%)
87:130 (38%)
view
32 x 2 module
module
61:104 (49%)
89:132 (36%)
view
32 x 2 module
module
96:139 (36%)
72:115 (45%)
view
32 x 2 module
module
77:120 (42%)
87:130 (38%)
view
32 x 2 module
module
87:130 (38%)
75:117 (42%)
view
32 x 2 module
module
96:139 (36%)
75:117 (42%)
view
32 x 2 module
module
96:139 (36%)
61:104 (49%)
view
32 x 2 module
module
72:115 (45%)
89:132 (36%)
view
32 x 2 module
module
72:115 (45%)
87:130 (38%)
view
32 x 2 module
module
77:120 (42%)
96:139 (36%)
view
32 x 2 module
module
77:120 (42%)
89:132 (36%)
view
32 x 2 module
module
75:117 (42%)
89:132 (36%)
view
32 x 2 module
module
107:148 (33%)
73:113 (43%)
view
31 x 2 module
module
88:130 (36%)
70:112 (43%)
view
31 x 2 module
module
78:120 (40%)
70:112 (43%)
view
31 x 2 module
module
62:104 (47%)
70:112 (43%)
view
31 x 2 module
module
70:112 (43%)
90:132 (35%)
view
31 x 2 module
module
88:130 (36%)
70:112 (43%)
view
31 x 2 module
module
70:112 (43%)
76:117 (40%)
view
31 x 2 module
module
73:115 (44%)
70:112 (43%)
view
Duplicated Units
The list of top 20 duplicated units.
See data for all 20 unit duplicates...
Size#FoldersFilesLinesCode
105 x 2 module
module
213:333 
272:389 
view
47 x 2 module
module
229:280 
361:412 
view
37 x 2 module
module
42:84 
42:84 
view
22 x 2 service/pipeline
service
34:61 
24:51 
view
20 x 2 algorithm/eas
algorithm/tfserving
190:215 
30:55 
view
16 x 2 web
web
81:100 
94:113 
view
15 x 2 commands/commands
web
313:331 
158:176 
view
9 x 2 service/recall
service/recall
59:71 
87:99 
view
9 x 4 service/recall/berecall
service/recall/berecall
service/recall/berecall
service/recall/berecall
48:60 
62:74 
68:80 
67:79 
view
8 x 2 utils
sort
309:318 
553:562 
view
8 x 2 config/pairec_config
config
73:82 
66:75 
view
8 x 2 config/pairec_config
config
83:92 
76:85 
view
8 x 2 config/pairec_config
config
93:102 
86:95 
view
8 x 2 config/pairec_config
config
103:112 
96:105 
view
7 x 2 module
module
58:66 
91:99 
view
6 x 2 filter
filter
52:61 
33:42 
view
6 x 2 filter
service/recall/berecall
192:199 
76:83 
view
6 x 2 service
service
200:208 
133:141 
view
6 x 4 module
module
module
module
265:274 
334:343 
196:205 
390:399 
view
6 x 7 module
module
module
module
module
module
module
218:227 
189:198 
165:174 
350:359 
183:192 
165:174 
150:158 
view