apache / apr
Duplication

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

Intro
Learn more...
Duplication Overall
system17% (12,356 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
c20% (11,368 lines)
h7% (435 lines)
pl30% (244 lines)
in4% (202 lines)
awk20% (95 lines)
inc2% (12 lines)
Duplication per Component (primary)
dbd23% (1,485 lines)
crypto29% (1,396 lines)
threadproc37% (1,374 lines)
encoding37% (823 lines)
file_io14% (816 lines)
build13% (618 lines)
ldap23% (559 lines)
include7% (511 lines)
uri69% (511 lines)
network_io14% (510 lines)
poll20% (499 lines)
locks15% (442 lines)
memcache30% (317 lines)
jose21% (315 lines)
redis34% (302 lines)
util-misc16% (287 lines)
time40% (224 lines)
strings10% (180 lines)
tables10% (157 lines)
memory10% (140 lines)
dso16% (130 lines)
dbm8% (116 lines)
shmem13% (116 lines)
atomic15% (107 lines)
json9% (91 lines)
ROOT2% (83 lines)
random13% (62 lines)
buckets4% (61 lines)
mmap20% (34 lines)
user8% (28 lines)
strmatch30% (20 lines)
misc<1% (14 lines)
xml1% (14 lines)
xlate7% (14 lines)
tools0% (0 lines)
passwd0% (0 lines)
support0% (0 lines)
helpers0% (0 lines)
hooks0% (0 lines)
buffer0% (0 lines)

Duplication Between Components (50+ lines)

G memcache memcache redis redis memcache--redis 248 include include ldap ldap include--ldap 207 poll poll ldap--poll 78

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 2,987 duplicates...
Size#FoldersFilesLinesCode
67 x 2 memcache
redis
547:622 (6%)
502:577 (7%)
view
48 x 2 file_io/netware
file_io/unix
113:193 (21%)
157:236 (28%)
view
41 x 2 crypto
crypto
242:330 (5%)
376:464 (4%)
view
39 x 2 file_io/netware
file_io/unix
67:124 (29%)
104:161 (25%)
view
38 x 2 time/unix
time/win32
44:87 (39%)
36:79 (25%)
view
37 x 2 dbd
dbd
415:464 (4%)
637:685 (4%)
view
37 x 2 threadproc/netware
threadproc/os2
55:111 (13%)
60:114 (9%)
view
35 x 2 threadproc/os2
threadproc/unix
60:110 (8%)
40:90 (8%)
view
35 x 2 threadproc/beos
threadproc/unix
49:99 (12%)
40:90 (8%)
view
35 x 2 threadproc/netware
threadproc/unix
55:106 (12%)
40:90 (8%)
view
35 x 2 file_io/netware
file_io/unix
173:221 (26%)
237:286 (23%)
view
35 x 2 threadproc/beos
threadproc/netware
49:99 (12%)
55:106 (12%)
view
35 x 2 threadproc/beos
threadproc/os2
49:99 (12%)
60:110 (8%)
view
34 x 2 dbd
dbd
171:221 (3%)
287:337 (2%)
view
33 x 2 build
build
81:119 (27%)
37:73 (32%)
view
33 x 2 time/unix
time/win32
92:129 (34%)
84:121 (22%)
view
33 x 2 encoding
encoding
902:950 (3%)
1034:1082 (3%)
view
30 x 2 file_io/os2
file_io/unix
124:165 (20%)
240:282 (19%)
view
30 x 2 file_io/netware
file_io/os2
176:217 (22%)
124:165 (20%)
view
29 x 2 encoding
encoding
1374:1415 (2%)
1452:1493 (2%)
view
29 x 2 crypto
crypto
814:861 (3%)
1037:1084 (3%)
view
29 x 2 crypto
crypto
1044:1085 (3%)
1245:1286 (3%)
view
28 x 2 threadproc/beos
threadproc/netware
79:128 (15%)
81:130 (14%)
view
28 x 2 encoding
encoding
399:439 (2%)
491:531 (2%)
view
27 x 2 threadproc/netware
threadproc/unix
440:493 (9%)
686:740 (6%)
view
25 x 2 dbd
dbd
1147:1174 (1%)
1534:1561 (1%)
view
24 x 2 ldap
ldap
3385:3425 (1%)
3469:3509 (1%)
view
24 x 2 time/unix
time/win32
140:177 (14%)
183:221 (17%)
view
24 x 2 poll/unix
poll/unix
32:64 (9%)
29:61 (7%)
view
23 x 2 include/arch/netware
include/arch/unix
98:125 (38%)
95:122 (44%)
view
23 x 2 crypto
crypto
887:926 (3%)
1110:1149 (3%)
view
23 x 2 encoding
encoding
1002:1028 (2%)
1133:1159 (2%)
view
23 x 2 jose
jose
965:1009 (2%)
1110:1154 (2%)
view
23 x 2 threadproc/beos
threadproc/netware
158:204 (12%)
193:239 (11%)
view
22 x 2 threadproc/netware
threadproc/unix
380:412 (7%)
629:661 (5%)
view
22 x 2 dbd
dbd
1228:1250 (1%)
1615:1637 (1%)
view
22 x 2 file_io/netware
file_io/unix
376:416 (10%)
240:280 (13%)
view
21 x 2 ldap
ldap
3051:3085 (1%)
3203:3237 (1%)
view
21 x 2 build
build
374:394 (4%)
402:422 (4%)
view
21 x 2 crypto
crypto
88:124 (2%)
95:136 (2%)
view
21 x 2 crypto
crypto
1055:1083 (2%)
1275:1303 (2%)
view
21 x 2 dbd
dbd
1256:1284 (1%)
1643:1671 (1%)
view
21 x 2 crypto
crypto
88:124 (2%)
181:220 (2%)
view
21 x 2 crypto
crypto
95:136 (2%)
181:220 (2%)
view
20 x 2 file_io/netware
file_io/unix
77:109 (9%)
121:153 (11%)
view
20 x 2 threadproc/beos
threadproc/unix
91:126 (10%)
170:205 (8%)
view
20 x 2 ldap
ldap
3476:3509 (1%)
3564:3597 (1%)
view
20 x 2 crypto
crypto
842:861 (2%)
870:889 (2%)
view
20 x 2 threadproc/netware
threadproc/os2
211:242 (7%)
213:243 (4%)
view
20 x 2 crypto
crypto
432:451 (2%)
541:560 (2%)
view
Duplicated Units
The list of top 10 duplicated units.
See data for all 10 unit duplicates...
Size#FoldersFilesLinesCode
17 x 2 file_io/netware
file_io/unix
85:105 
129:149 
view
16 x 2 build
build
753:774 
1940:1961 
view
15 x 2 poll/unix
poll/unix
44:62 
47:65 
view
13 x 3 crypto
crypto
crypto
1421:1437 
1717:1733 
1605:1621 
view
11 x 2 network_io/win32
network_io/os2
68:84 
58:74 
view
10 x 2 threadproc/netware
threadproc/unix
88:99 
91:102 
view
9 x 2 poll/unix
poll/unix
29:42 
32:45 
view
8 x 2 file_io/win32
file_io/unix
777:788 
31:42 
view
8 x 2 crypto
crypto
386:396 
461:471 
view
7 x 2 dbd
dbd/unsupported
1271:1279 
678:686 
view