alibaba / PhotonLibOS
Duplication

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

Intro
Learn more...
Duplication Overall
system50% (21,244 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
h81% (20,607 lines)
cpp3% (623 lines)
i3% (14 lines)
Duplication per Component (primary)
include99% (10,089 lines)
common45% (5,040 lines)
net27% (1,535 lines)
thread40% (1,514 lines)
fs22% (1,386 lines)
ecosystem69% (728 lines)
rpc38% (551 lines)
io18% (365 lines)
ROOT31% (36 lines)
tools0% (0 lines)
doc0% (0 lines)
CMake0% (0 lines)

Duplication Between Components (50+ lines)

G common common include include common--include 9228 thread thread include--thread 2940 net net include--net 2734 rpc rpc include--rpc 1102 io io include--io 406 ROOT ROOT include--ROOT 72 fs fs fs--include 2231 ecosystem ecosystem ecosystem--include 1456

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 371 duplicates...
Size#FoldersFilesLinesCode
526 x 2 common
include/photon/common
50:1080 (100%)
50:1080 (100%)
view
503 x 2 ecosystem
include/photon/ecosystem
24:718 (100%)
24:718 (100%)
view
429 x 2 common
include/photon/common
31:714 (100%)
31:714 (100%)
view
422 x 2 common
include/photon/common
32:741 (100%)
32:741 (100%)
view
366 x 2 common
include/photon/common
36:590 (100%)
36:590 (100%)
view
353 x 2 include/photon/net
net
31:521 (100%)
31:521 (100%)
view
347 x 2 include/photon/rpc
rpc
30:583 (100%)
30:583 (100%)
view
311 x 2 include/photon/thread
thread
30:536 (100%)
30:536 (100%)
view
290 x 2 common
include/photon/common
29:512 (100%)
29:512 (100%)
view
281 x 2 common
include/photon/common
37:465 (100%)
37:465 (100%)
view
258 x 2 include/photon/thread
thread
30:442 (100%)
30:442 (100%)
view
252 x 2 include/photon/thread
thread
21:439 (100%)
21:439 (100%)
view
215 x 2 fs
include/photon/fs
25:347 (100%)
25:347 (100%)
view
214 x 2 include/photon/net
net
36:344 (100%)
36:344 (100%)
view
203 x 2 fs
include/photon/fs
24:296 (100%)
24:296 (100%)
view
203 x 2 fs
include/photon/fs
27:374 (100%)
27:374 (100%)
view
202 x 2 include/photon/thread
thread
13:315 (100%)
13:315 (100%)
view
190 x 2 common
include/photon/common
24:300 (100%)
24:300 (100%)
view
157 x 2 include/photon/net/http
net/http
28:256 (100%)
28:256 (100%)
view
154 x 2 common
include/photon/common
28:335 (100%)
28:335 (100%)
view
150 x 2 fs
include/photon/fs
20:337 (100%)
20:337 (100%)
view
148 x 2 ecosystem
include/photon/ecosystem
20:230 (100%)
20:230 (100%)
view
138 x 2 include/photon/net
net
28:236 (100%)
28:236 (100%)
view
136 x 2 common
include/photon/common
32:227 (100%)
32:227 (100%)
view
132 x 2 fs
include/photon/fs
26:259 (100%)
26:259 (100%)
view
132 x 2 include/photon/rpc
rpc
26:283 (100%)
26:283 (100%)
view
127 x 2 common/metric-meter
include/photon/common/metric-meter
27:202 (100%)
27:202 (100%)
view
123 x 2 common
include/photon/common
30:252 (100%)
30:252 (100%)
view
113 x 2 include/photon/net/http
net/http
30:180 (100%)
30:180 (100%)
view
110 x 2 common
include/photon/common
31:210 (100%)
31:210 (100%)
view
107 x 2 include/photon/net/http
net/http
28:170 (100%)
28:170 (100%)
view
103 x 2 common
include/photon/common
21:205 (100%)
21:205 (100%)
view
100 x 2 common
include/photon/common
22:173 (100%)
22:173 (100%)
view
99 x 2 include/photon/io
io
23:219 (100%)
23:219 (100%)
view
97 x 2 common
include/photon/common
6:143 (100%)
6:143 (100%)
view
85 x 2 common
include/photon/common
31:166 (100%)
31:166 (100%)
view
84 x 2 common
include/photon/common
25:147 (100%)
25:147 (100%)
view
83 x 2 common
include/photon/common
28:154 (100%)
28:154 (100%)
view
82 x 2 include/photon/thread
thread
28:131 (100%)
28:131 (100%)
view
82 x 2 include/photon/thread
thread
27:161 (100%)
27:161 (100%)
view
80 x 2 common
include/photon/common
29:173 (100%)
29:173 (100%)
view
77 x 2 ecosystem
include/photon/ecosystem
29:141 (100%)
29:141 (100%)
view
73 x 2 common
include/photon/common
25:169 (100%)
25:169 (100%)
view
72 x 2 include/photon/rpc
rpc
32:192 (100%)
32:192 (100%)
view
70 x 2 include/photon/net/http
net/http
21:113 (100%)
21:113 (100%)
view
64 x 2 common/executor
include/photon/common/executor
24:113 (100%)
24:113 (100%)
view
62 x 2 include/photon/thread
thread
21:123 (100%)
21:123 (100%)
view
61 x 2 common
include/photon/common
22:138 (100%)
22:138 (100%)
view
59 x 2 include/photon/net
net
22:114 (100%)
22:114 (100%)
view
57 x 2 common
include/photon/common
22:118 (100%)
22:118 (100%)
view
Duplicated Units
The list of top 50 duplicated units.
See data for all 156 unit duplicates...
Size#FoldersFilesLinesCode
95 x 2 include/photon/net
net
45:153 
45:153 
view
61 x 2 include/photon/common
common
141:208 
141:208 
view
57 x 2 include/photon/fs
fs
133:192 
133:192 
view
43 x 2 include/photon/rpc
rpc
146:193 
146:193 
view
37 x 2 include/photon/common
common
30:69 
30:69 
view
29 x 2 include/photon/common
common
61:99 
61:99 
view
26 x 2 include/photon/net
net
157:184 
157:184 
view
23 x 2 include/photon/common
common
296:320 
296:320 
view
23 x 2 include/photon/common
common
326:350 
326:350 
view
23 x 2 include/photon/fs
fs
346:376 
346:376 
view
21 x 2 io
io
155:177 
159:181 
view
21 x 2 include/photon/common
common
110:135 
110:135 
view
21 x 2 include/photon/common
common
177:199 
177:199 
view
19 x 2 include/photon/common
common
191:211 
191:211 
view
19 x 2 include/photon/common
common
213:233 
213:233 
view
19 x 2 include/photon/common
common
238:263 
238:263 
view
18 x 2 include/photon/common
common
566:588 
566:588 
view
17 x 2 include/photon/common
common
77:95 
77:95 
view
15 x 2 include/photon/common
common
442:458 
442:458 
view
15 x 2 include/photon/rpc
rpc
217:239 
217:239 
view
15 x 2 include/photon/rpc
rpc
542:561 
542:561 
view
14 x 2 include/photon/common
common
477:492 
477:492 
view
14 x 2 include/photon/common
common
568:583 
568:583 
view
14 x 2 include/photon/common
common
460:475 
460:475 
view
13 x 2 include/photon/common
common
498:512 
498:512 
view
13 x 2 include/photon/common
common
589:603 
589:603 
view
13 x 2 include/photon/common
common
27:41 
27:41 
view
13 x 2 include/photon/net
net
92:108 
92:108 
view
13 x 2 fs/httpfs
fs/httpfs
243:257 
261:275 
view
12 x 2 io
io
179:192 
183:196 
view
12 x 2 include/photon/common
common
815:829 
815:829 
view
12 x 2 include/photon/common
common
43:56 
43:56 
view
12 x 2 include/photon/common
common
85:98 
85:98 
view
12 x 2 include/photon/common/executor
common/executor
50:63 
50:63 
view
12 x 2 include/photon/thread
thread
397:411 
397:411 
view
12 x 2 include/photon/thread
thread
413:426 
413:426 
view
12 x 2 include/photon/thread
thread
40:54 
40:54 
view
11 x 2 include/photon/common
common
929:941 
929:941 
view
11 x 2 include/photon/common
common
18:30 
18:30 
view
11 x 2 include/photon/common
common
96:108 
96:108 
view
11 x 2 include/photon/thread
thread
54:66 
54:66 
view
11 x 2 include/photon/thread
thread
48:63 
48:63 
view
11 x 2 include/photon/thread
thread
136:160 
136:160 
view
11 x 2 include/photon/thread
thread
73:87 
73:87 
view
11 x 2 include/photon/thread
thread
383:396 
383:396 
view
11 x 2 include/photon/rpc
rpc
412:426 
412:426 
view
11 x 2 include/photon/net
net
181:193 
181:193 
view
11 x 2 include/photon/net
net
203:215 
203:215 
view
11 x 2 include/photon/net
net
413:426 
413:426 
view
10 x 2 include/photon/common
common
249:260 
249:260 
view