apache / mynewt-nimble
Duplication

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

Intro
Learn more...
Duplication Overall
system13% (14,592 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
c14% (12,935 lines)
h8% (921 lines)
yml11% (607 lines)
cmd100% (40 lines)
rb4% (36 lines)
cc43% (29 lines)
py1% (24 lines)
Duplication per Component (primary)
nimble8% (6,495 lines)
apps26% (6,433 lines)
porting25% (1,073 lines)
babblesim11% (413 lines)
ext6% (126 lines)
tools2% (52 lines)
ROOT0% (0 lines)
targets0% (0 lines)

Duplication Between Components (50+ lines)

G babblesim babblesim porting porting babblesim--porting 656 apps apps nimble nimble apps--nimble 307

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 2,373 duplicates...
Size#FoldersFilesLinesCode
274 x 2 apps/btshell/src
apps/dtm/src
36:498 (62%)
32:494 (92%)
view
164 x 2 apps/blestress/src
apps/ext_advertiser/src
182:345 (70%)
21:184 (98%)
view
109 x 2 babblesim/hw/mcu/nordic/nrf52_bsim/src
porting/nimble/src
321:546 (24%)
317:545 (24%)
view
101 x 2 apps/blecent/src
apps/blestress/src
57:207 (86%)
70:222 (80%)
view
86 x 2 nimble/drivers/nrf51/src
nimble/drivers/nrf5x/src
73:251 (45%)
97:277 (44%)
view
70 x 2 apps/blecent/src
apps/scanner/src
104:207 (59%)
78:181 (48%)
view
70 x 2 apps/blestress/src
apps/scanner/src
119:222 (56%)
78:181 (48%)
view
61 x 2 babblesim/hw/mcu/nordic/nrf52_bsim/src
porting/nimble/src
726:859 (13%)
729:862 (13%)
view
61 x 2 nimble/host/mesh/include/mesh
nimble/host/mesh/src
13:397 (100%)
13:397 (100%)
view
56 x 2 nimble/transport/uart/src
nimble/transport/uart_ll/src
103:176 (32%)
99:172 (37%)
view
43 x 2 babblesim/hw/mcu/nordic/nrf52_bsim/src
porting/nimble/src
34:131 (9%)
30:127 (9%)
view
38 x 2 nimble/drivers/nrf51/src
nimble/drivers/nrf5x/src
379:487 (20%)
409:517 (19%)
view
37 x 2 porting/npl/linux/src
porting/npl/nuttx/src
27:90 (97%)
28:91 (92%)
view
37 x 2 apps/blehr/src
apps/mesh_badge/src
121:175 (36%)
168:225 (28%)
view
36 x 2 apps/bleprph/src
apps/mesh_badge/src
152:203 (33%)
174:225 (27%)
view
36 x 2 apps/blehr/src
apps/blestress/src
124:175 (35%)
102:154 (37%)
view
36 x 2 apps/bleprph/src
apps/blestress/src
152:203 (33%)
102:154 (37%)
view
36 x 2 apps/blestress/src
apps/mesh_badge/src
102:154 (37%)
174:225 (27%)
view
36 x 2 apps/blehr/src
apps/bleprph/src
124:175 (35%)
152:203 (33%)
view
33 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
575:620 (1%)
665:710 (1%)
view
32 x 2 porting/npl/linux/src
porting/npl/nuttx/src
26:80 (100%)
27:81 (100%)
view
32 x 2 nimble/drivers/nrf51/src
nimble/drivers/nrf5x/src
130:164 (4%)
250:285 (3%)
view
32 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
1994:2036 (1%)
2079:2121 (1%)
view
30 x 2 apps/btshell/src
apps/dtm/src
26:56 (76%)
25:55 (96%)
view
30 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
1981:2020 (1%)
2476:2515 (1%)
view
29 x 2 apps/bleprph/src
apps/btshell/src
78:126 (26%)
299:347 (6%)
view
29 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
2492:2529 (1%)
2572:2609 (1%)
view
29 x 2 porting/npl/linux/src
porting/npl/nuttx/src
88:145 (43%)
119:176 (35%)
view
29 x 2 nimble/host/mesh/src
nimble/host/mesh/src
1909:1946 (1%)
1978:2015 (1%)
view
29 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
819:856 (1%)
903:940 (1%)
view
29 x 2 porting/npl/linux/include/nimble
porting/npl/nuttx/include/nimble
47:84 (74%)
51:88 (74%)
view
28 x 2 nimble/drivers/nrf51/src
nimble/drivers/nrf5x/src
292:356 (14%)
321:386 (14%)
view
28 x 2 porting/npl/linux/src
porting/npl/nuttx/src
114:157 (36%)
168:211 (25%)
view
27 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
1334:1369 (1%)
1406:1441 (1%)
view
27 x 2 apps/blestress/src
apps/blestress/src
556:590 (2%)
666:701 (2%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
417:450 (1%)
1521:1554 (1%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
809:842 (1%)
1521:1554 (1%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
213:247 (1%)
2481:2515 (1%)
view
26 x 2 apps/bleprph/src
apps/btshell/src
152:184 (23%)
577:610 (5%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
213:247 (1%)
1986:2020 (1%)
view
26 x 2 apps/blehr/src
apps/btshell/src
124:156 (25%)
577:610 (5%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
1324:1357 (1%)
1521:1554 (1%)
view
26 x 2 apps/btshell/src
apps/mesh_badge/src
577:610 (5%)
174:206 (19%)
view
26 x 2 apps/blestress/src
apps/btshell/src
102:135 (27%)
577:610 (5%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
809:842 (1%)
1324:1357 (1%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
417:450 (1%)
1324:1357 (1%)
view
26 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
417:450 (1%)
809:842 (1%)
view
25 x 2 nimble/host/src
nimble/host/src
5177:5215 (<1%)
5306:5344 (<1%)
view
25 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
216:247 (1%)
811:842 (1%)
view
25 x 2 apps/blemesh_models_example_2/src
apps/blemesh_models_example_2/src
216:247 (1%)
1326:1357 (1%)
view
Duplicated Units
The list of top 6 duplicated units.
See data for all 6 unit duplicates...
Size#FoldersFilesLinesCode
13 x 2 porting/npl/linux/src
porting/npl/nuttx/src
56:73 
71:88 
view
10 x 2 nimble/host/mesh/src
apps/blemesh_light/src
41:52 
121:132 
view
9 x 2 ext/tinycrypt/src
ext/tinycrypt/src
92:102 
101:111 
view
8 x 2 nimble/host/mesh/src
nimble/host/mesh/src
291:301 
1080:1090 
view
7 x 2 nimble/host/mesh/include/mesh
nimble/host/mesh/src
390:399 
390:399 
view
6 x 2 nimble/host/mesh/src
nimble/host/mesh/src
381:388 
432:439 
view