apache / nuttx-apps
Duplication

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

Intro
Learn more...
Duplication Overall
system12% (18,324 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
c13% (14,832 lines)
cxx10% (2,334 lines)
hxx10% (498 lines)
h5% (452 lines)
l7% (144 lines)
nims14% (17 lines)
nimble33% (17 lines)
cmake17% (16 lines)
py1% (14 lines)
Duplication per Component (primary)
testing25% (3,861 lines)
graphics10% (3,209 lines)
system10% (2,301 lines)
interpreters9% (1,723 lines)
netutils7% (1,648 lines)
lte18% (1,503 lines)
industry30% (1,259 lines)
wireless10% (690 lines)
nshlib9% (650 lines)
modbus23% (589 lines)
include6% (556 lines)
fsutils7% (148 lines)
games10% (59 lines)
logging3% (40 lines)
canutils2% (38 lines)
platform33% (26 lines)
ROOT14% (17 lines)
builtin9% (7 lines)
crypto0% (0 lines)
tools0% (0 lines)
boot0% (0 lines)
sdr0% (0 lines)
audioutils0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 3,290 duplicates...
Size#FoldersFilesLinesCode
141 x 2 system/composite
system/usbmsc
155:340 (57%)
180:365 (51%)
view
76 x 2 testing/crypto
testing/crypto
1437:1514 (4%)
1584:1661 (4%)
view
76 x 2 testing/crypto
testing/crypto
996:1073 (4%)
1584:1661 (4%)
view
76 x 2 testing/crypto
testing/crypto
1290:1367 (4%)
1437:1514 (4%)
view
76 x 2 testing/crypto
testing/crypto
1143:1220 (4%)
1584:1661 (4%)
view
76 x 2 testing/crypto
testing/crypto
996:1073 (4%)
1290:1367 (4%)
view
76 x 2 testing/crypto
testing/crypto
1143:1220 (4%)
1437:1514 (4%)
view
76 x 2 testing/crypto
testing/crypto
996:1073 (4%)
1143:1220 (4%)
view
76 x 2 testing/crypto
testing/crypto
996:1073 (4%)
1437:1514 (4%)
view
76 x 2 testing/crypto
testing/crypto
1290:1367 (4%)
1584:1661 (4%)
view
76 x 2 testing/crypto
testing/crypto
1143:1220 (4%)
1290:1367 (4%)
view
67 x 2 testing/crypto
testing/crypto
144:211 (3%)
1153:1220 (3%)
view
67 x 2 testing/crypto
testing/crypto
144:211 (3%)
1300:1367 (3%)
view
67 x 2 testing/crypto
testing/crypto
144:211 (3%)
1447:1514 (3%)
view
67 x 2 testing/crypto
testing/crypto
144:211 (3%)
1594:1661 (3%)
view
67 x 2 testing/crypto
testing/crypto
144:211 (3%)
1006:1073 (3%)
view
65 x 2 testing/crypto
testing/crypto
356:420 (3%)
433:497 (3%)
view
65 x 2 testing/crypto
testing/crypto
785:849 (3%)
862:926 (3%)
view
65 x 2 testing/crypto
testing/crypto
642:706 (3%)
719:783 (3%)
view
65 x 2 testing/crypto
testing/crypto
213:277 (3%)
290:354 (3%)
view
53 x 2 system/ping
system/ping6
290:382 (23%)
287:379 (23%)
view
47 x 2 lte/alt1250/usock_handlers
lte/alt1250/usock_handlers
103:171 (55%)
261:329 (30%)
view
46 x 2 industry/foc/fixed16
industry/foc/float
112:218 (22%)
112:218 (23%)
view
44 x 2 testing/mtd_config_fs
testing/mtd_config_fs
1492:1565 (3%)
2127:2200 (3%)
view
40 x 2 interpreters/minibasic
interpreters/minibasic
2142:2187 (1%)
3003:3048 (1%)
view
38 x 2 interpreters/bas
interpreters/bas
3629:3695 (1%)
4869:4936 (1%)
view
36 x 2 nshlib
nshlib
243:355 (14%)
523:635 (14%)
view
35 x 2 testing/mtd_config_fs
testing/mtd_config_fs
2231:2290 (2%)
2388:2447 (2%)
view
33 x 2 testing/crypto
testing/crypto
67:120 (36%)
198:251 (16%)
view
33 x 2 industry/foc/fixed16
industry/foc/float
88:177 (67%)
88:177 (67%)
view
33 x 2 testing/mtd_config_fs
testing/mtd_config_fs
1978:2043 (2%)
2304:2358 (2%)
view
33 x 2 system/hex2bin
system/hex2bin
120:172 (28%)
115:167 (32%)
view
32 x 2 testing/crypto
testing/crypto
1041:1072 (1%)
1156:1187 (1%)
view
32 x 2 testing/crypto
testing/crypto
1009:1040 (1%)
1335:1366 (1%)
view
32 x 2 testing/crypto
testing/crypto
1041:1072 (1%)
1303:1334 (1%)
view
32 x 2 testing/crypto
testing/crypto
1009:1040 (1%)
1482:1513 (1%)
view
32 x 2 testing/crypto
testing/crypto
1597:1628 (1%)
1629:1660 (1%)
view
32 x 2 testing/crypto
testing/crypto
1009:1040 (1%)
1629:1660 (1%)
view
32 x 2 testing/crypto
testing/crypto
1335:1366 (1%)
1597:1628 (1%)
view
32 x 2 testing/crypto
testing/crypto
1041:1072 (1%)
1597:1628 (1%)
view
32 x 2 testing/crypto
testing/crypto
1335:1366 (1%)
1450:1481 (1%)
view
32 x 2 testing/crypto
testing/crypto
1156:1187 (1%)
1335:1366 (1%)
view
32 x 2 testing/crypto
testing/crypto
1041:1072 (1%)
1450:1481 (1%)
view
32 x 2 testing/crypto
testing/crypto
1009:1040 (1%)
1188:1219 (1%)
view
32 x 2 testing/crypto
testing/crypto
1156:1187 (1%)
1188:1219 (1%)
view
32 x 2 testing/crypto
testing/crypto
179:210 (1%)
1156:1187 (1%)
view
32 x 2 testing/crypto
testing/crypto
147:178 (1%)
179:210 (1%)
view
32 x 2 testing/crypto
testing/crypto
1188:1219 (1%)
1303:1334 (1%)
view
32 x 2 testing/crypto
testing/crypto
179:210 (1%)
1450:1481 (1%)
view
32 x 2 testing/crypto
testing/crypto
1156:1187 (1%)
1629:1660 (1%)
view
Duplicated Units
The list of top 38 duplicated units.
See data for all 38 unit duplicates...
Size#FoldersFilesLinesCode
146 x 2 system/usbmsc
system/composite
178:366 
153:341 
view
82 x 2 industry/foc/fixed16
industry/foc/float
122:219 
122:219 
view
35 x 2 system/hexed/src
system/hexed/src
102:163 
136:201 
view
34 x 2 nshlib
nshlib
61:138 
53:130 
view
21 x 2 modbus/nuttx
modbus/nuttx
172:198 
178:204 
view
19 x 2 netutils/webclient
netutils/ping
1032:1067 
105:144 
view
19 x 2 system/usbmsc
system/composite
102:124 
77:99 
view
18 x 4 testing/drivertest
testing/fstest
testing/smart
testing/nxffs
125:144 
153:172 
216:235 
203:222 
view
16 x 2 wireless/ieee802154/i8sak
wireless/iwpan/src
286:306 
111:131 
view
15 x 3 wireless/ieee802154/i8sak
wireless/bluetooth/btsak
wireless/iwpan/src
505:521 
418:434 
254:270 
view
15 x 2 graphics/nxwidgets/src
graphics/nxwidgets/src
103:121 
104:122 
view
14 x 2 testing/fstest
testing/mtd_config_fs
100:115 
210:225 
view
14 x 2 graphics/nxwidgets/src
graphics/nxwidgets/src
131:148 
132:149 
view
13 x 2 netutils/ftpc
netutils/ftpc
45:73 
46:75 
view
12 x 3 system/lm75
system/i2c
system/spi
83:97 
39:53 
39:53 
view
11 x 2 netutils/pppd
system/ubloxmodem
82:97 
110:125 
view
11 x 2 system/trace
system/sched_note
109:121 
84:96 
view
10 x 2 system/stackmonitor
system/critmon
287:304 
294:311 
view
10 x 2 graphics/nxwidgets/src
graphics/nxwidgets/src
188:206 
187:205 
view
10 x 2 modbus/nuttx
modbus/nuttx
296:308 
304:316 
view
9 x 3 testing/smart
testing/ostest
testing/nxffs
168:178 
107:117 
155:165 
view
9 x 3 testing/ostest
testing/ostest
testing/smp
79:90 
64:75 
86:97 
view
9 x 2 system/ymodem
system/ymodem
254:264 
301:311 
view
9 x 2 graphics/nxwidgets/src
graphics/nxwidgets/src
304:317 
311:324 
view
8 x 2 industry/foc/fixed16
industry/foc/float
177:192 
177:192 
view
7 x 2 graphics/nxwidgets/src
graphics/nxwidgets/src
316:335 
314:333 
view
7 x 2 modbus/nuttx
modbus/nuttx
310:318 
318:326 
view
6 x 2 testing/drivertest
testing/drivertest
80:87 
297:304 
view
6 x 4 testing/drivertest
testing/drivertest
testing/monkey
system/ramspeed
91:98 
106:113 
80:87 
192:199 
view
6 x 3 system/lm75
system/i2c
system/spi
103:111 
59:67 
59:67 
view
6 x 2 system/i2c
system/spi
73:81 
74:82 
view
6 x 10 industry/foc/fixed16
industry/foc/fixed16
industry/foc/fixed16
industry/foc/fixed16
industry/foc/fixed16
industry/foc/float
industry/foc/float
industry/foc/float
industry/foc/float
industry/foc/float
130:140 
122:132 
130:140 
120:130 
136:146 
130:140 
122:132 
130:140 
122:132 
131:141 
view
6 x 2 industry/foc/fixed16
industry/foc/float
138:148 
138:148 
view
6 x 4 industry/foc/fixed16
industry/foc/fixed16
industry/foc/float
industry/foc/float
754:764 
428:438 
754:764 
532:542 
view
6 x 2 industry/foc/fixed16
industry/foc/float
130:140 
130:140 
view
6 x 2 industry/foc/fixed16
industry/foc/float
140:150 
140:150 
view
6 x 4 graphics/nxwidgets/src
graphics/nxwidgets/src
graphics/nxwidgets/src
graphics/nxwidgets/src
207:216 
298:307 
296:305 
308:317 
view
6 x 2 graphics/nxwidgets/src
graphics/nxwidgets/src
280:288 
278:286 
view