View results by: Directories | Files
| Path | Line Coverage | Function Coverage | Region Coverage |
|---|---|---|---|
src/c-toxcore/testing/fuzzing/bootstrap_fuzz_test.cc |
72.73% (176/242) |
15.38% (4/26) |
18.82% (54/287) |
src/c-toxcore/testing/fuzzing/toxsave_fuzz_test.cc |
100.00% (29/29) |
100.00% (2/2) |
60.71% (17/28) |
src/c-toxcore/testing/support/doubles/fake_network_stack.cc |
52.75% (115/218) |
69.44% (25/36) |
43.71% (66/151) |
src/c-toxcore/testing/support/doubles/fake_network_stack.hh |
0.00% (0/1) |
0.00% (0/1) |
0.00% (0/1) |
src/c-toxcore/testing/support/doubles/fake_sockets.cc |
26.40% (132/500) |
48.84% (21/43) |
28.52% (79/277) |
src/c-toxcore/testing/support/doubles/fake_sockets.hh |
30.00% (3/10) |
30.00% (3/10) |
30.00% (3/10) |
src/c-toxcore/testing/support/doubles/network_universe.cc |
45.75% (113/247) |
68.42% (13/19) |
42.94% (76/177) |
src/c-toxcore/testing/support/doubles/network_universe.hh |
66.67% (4/6) |
100.00% (1/1) |
75.00% (3/4) |
src/c-toxcore/testing/support/public/fuzz_data.hh |
60.81% (45/74) |
73.33% (11/15) |
61.70% (29/47) |
src/c-toxcore/testing/support/public/simulated_environment.hh |
0.00% (0/1) |
0.00% (0/1) |
0.00% (0/1) |
src/c-toxcore/testing/support/public/simulation.hh |
26.67% (4/15) |
30.77% (4/13) |
25.00% (4/16) |
src/c-toxcore/testing/support/src/clock.cc |
100.00% (1/1) |
100.00% (1/1) |
100.00% (1/1) |
src/c-toxcore/testing/support/src/environment.cc |
100.00% (1/1) |
100.00% (1/1) |
100.00% (1/1) |
src/c-toxcore/testing/support/src/fake_clock.cc |
83.33% (5/6) |
75.00% (3/4) |
80.00% (4/5) |
src/c-toxcore/testing/support/src/fake_memory.cc |
66.30% (61/92) |
80.00% (12/15) |
71.93% (41/57) |
src/c-toxcore/testing/support/src/fake_random.cc |
43.75% (14/32) |
55.56% (5/9) |
39.13% (9/23) |
src/c-toxcore/testing/support/src/fuzz_helpers.cc |
33.90% (40/118) |
50.00% (3/6) |
16.67% (8/48) |
src/c-toxcore/testing/support/src/memory.cc |
100.00% (1/1) |
100.00% (1/1) |
100.00% (1/1) |
src/c-toxcore/testing/support/src/network.cc |
100.00% (10/10) |
100.00% (3/3) |
100.00% (3/3) |
src/c-toxcore/testing/support/src/random.cc |
100.00% (1/1) |
100.00% (1/1) |
100.00% (1/1) |
src/c-toxcore/testing/support/src/simulated_environment.cc |
73.47% (36/49) |
58.33% (7/12) |
69.57% (16/23) |
src/c-toxcore/testing/support/src/simulation.cc |
12.06% (31/257) |
13.21% (7/53) |
16.41% (21/128) |
src/c-toxcore/third_party/cmp/cmp.c |
31.59% (856/2710) |
28.65% (51/178) |
28.80% (638/2215) |
src/c-toxcore/toxcore/DHT.c |
25.35% (453/1787) |
32.71% (35/107) |
31.43% (607/1931) |
src/c-toxcore/toxcore/DHT_fuzz_test.cc |
100.00% (39/39) |
100.00% (3/3) |
50.85% (30/59) |
src/c-toxcore/toxcore/LAN_discovery.c |
49.17% (59/120) |
60.00% (6/10) |
40.00% (52/130) |
src/c-toxcore/toxcore/Messenger.c |
42.54% (995/2339) |
51.57% (82/159) |
39.65% (960/2421) |
src/c-toxcore/toxcore/TCP_client.c |
21.00% (134/638) |
20.45% (9/44) |
20.66% (125/605) |
src/c-toxcore/toxcore/TCP_common.c |
6.36% (15/236) |
30.00% (3/10) |
4.96% (12/242) |
src/c-toxcore/toxcore/TCP_connection.c |
16.51% (178/1078) |
27.69% (18/65) |
17.05% (217/1273) |
src/c-toxcore/toxcore/TCP_server.c |
16.16% (139/860) |
26.32% (10/38) |
14.68% (158/1076) |
src/c-toxcore/toxcore/announce.c |
10.43% (44/422) |
8.00% (2/25) |
13.06% (61/467) |
src/c-toxcore/toxcore/bin_pack.c |
69.48% (107/154) |
79.17% (19/24) |
56.22% (104/185) |
src/c-toxcore/toxcore/bin_unpack.c |
66.47% (111/167) |
73.91% (17/23) |
57.99% (98/169) |
src/c-toxcore/toxcore/crypto_core.c |
50.27% (94/187) |
57.89% (22/38) |
55.91% (123/220) |
src/c-toxcore/toxcore/crypto_core_pack.c |
100.00% (35/35) |
100.00% (4/4) |
100.00% (16/16) |
src/c-toxcore/toxcore/events/conference_connected.c |
42.86% (39/91) |
50.00% (7/14) |
31.97% (39/122) |
src/c-toxcore/toxcore/events/conference_invite.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/conference_message.c |
31.82% (49/154) |
33.33% (7/21) |
23.05% (59/256) |
src/c-toxcore/toxcore/events/conference_peer_list_changed.c |
42.86% (39/91) |
50.00% (7/14) |
31.97% (39/122) |
src/c-toxcore/toxcore/events/conference_peer_name.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/conference_title.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/dht_nodes_response.c |
34.03% (49/144) |
36.84% (7/19) |
24.46% (57/233) |
src/c-toxcore/toxcore/events/events_alloc.c |
52.94% (27/51) |
66.67% (2/3) |
40.00% (26/65) |
src/c-toxcore/toxcore/events/file_chunk_request.c |
38.28% (49/128) |
35.00% (7/20) |
28.37% (59/208) |
src/c-toxcore/toxcore/events/file_recv.c |
30.91% (51/165) |
30.43% (7/23) |
22.34% (63/282) |
src/c-toxcore/toxcore/events/file_recv_chunk.c |
31.82% (49/154) |
33.33% (7/21) |
23.05% (59/256) |
src/c-toxcore/toxcore/events/file_recv_control.c |
40.17% (47/117) |
38.89% (7/18) |
30.22% (55/182) |
src/c-toxcore/toxcore/events/friend_connection_status.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/friend_lossless_packet.c |
34.09% (45/132) |
41.18% (7/17) |
24.76% (51/206) |
src/c-toxcore/toxcore/events/friend_lossy_packet.c |
34.09% (45/132) |
41.18% (7/17) |
24.76% (51/206) |
src/c-toxcore/toxcore/events/friend_message.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/friend_name.c |
34.09% (45/132) |
41.18% (7/17) |
25.00% (51/204) |
src/c-toxcore/toxcore/events/friend_read_receipt.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/friend_request.c |
35.07% (47/134) |
41.18% (7/17) |
25.48% (53/208) |
src/c-toxcore/toxcore/events/friend_status.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/friend_status_message.c |
34.09% (45/132) |
41.18% (7/17) |
25.00% (51/204) |
src/c-toxcore/toxcore/events/friend_typing.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/group_custom_packet.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/group_custom_private_packet.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/group_invite.c |
28.24% (48/170) |
35.00% (7/20) |
19.78% (55/278) |
src/c-toxcore/toxcore/events/group_join_fail.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/group_message.c |
30.91% (51/165) |
30.43% (7/23) |
22.34% (63/282) |
src/c-toxcore/toxcore/events/group_moderation.c |
38.28% (49/128) |
35.00% (7/20) |
28.37% (59/208) |
src/c-toxcore/toxcore/events/group_password.c |
34.09% (45/132) |
41.18% (7/17) |
25.00% (51/204) |
src/c-toxcore/toxcore/events/group_peer_exit.c |
27.08% (52/192) |
29.17% (7/24) |
19.09% (63/330) |
src/c-toxcore/toxcore/events/group_peer_join.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/group_peer_limit.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/group_peer_name.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/group_peer_status.c |
40.17% (47/117) |
38.89% (7/18) |
30.22% (55/182) |
src/c-toxcore/toxcore/events/group_privacy_state.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/group_private_message.c |
30.91% (51/165) |
30.43% (7/23) |
22.34% (63/282) |
src/c-toxcore/toxcore/events/group_self_join.c |
42.86% (39/91) |
50.00% (7/14) |
31.97% (39/122) |
src/c-toxcore/toxcore/events/group_topic.c |
32.87% (47/143) |
36.84% (7/19) |
23.91% (55/230) |
src/c-toxcore/toxcore/events/group_topic_lock.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/group_voice_state.c |
42.45% (45/106) |
43.75% (7/16) |
32.69% (51/156) |
src/c-toxcore/toxcore/events/self_connection_status.c |
42.86% (39/91) |
50.00% (7/14) |
31.97% (39/122) |
src/c-toxcore/toxcore/forwarding.c |
31.76% (74/233) |
50.00% (8/16) |
36.09% (96/266) |
src/c-toxcore/toxcore/forwarding_fuzz_test.cc |
100.00% (67/67) |
100.00% (4/4) |
100.00% (65/65) |
src/c-toxcore/toxcore/friend_connection.c |
29.92% (178/595) |
45.95% (17/37) |
30.32% (188/620) |
src/c-toxcore/toxcore/friend_requests.c |
42.35% (36/85) |
72.73% (8/11) |
29.07% (25/86) |
src/c-toxcore/toxcore/group.c |
21.95% (481/2191) |
31.62% (43/136) |
24.23% (480/1981) |
src/c-toxcore/toxcore/group_announce.c |
79.35% (246/310) |
88.24% (15/17) |
72.15% (417/578) |
src/c-toxcore/toxcore/group_announce_fuzz_test.cc |
100.00% (89/89) |
100.00% (7/7) |
88.04% (81/92) |
src/c-toxcore/toxcore/group_chats.c |
8.37% (432/5159) |
19.08% (54/283) |
5.18% (348/6712) |
src/c-toxcore/toxcore/group_connection.c |
5.75% (25/435) |
12.90% (4/31) |
3.74% (23/615) |
src/c-toxcore/toxcore/group_moderation.c |
17.70% (100/565) |
18.42% (7/38) |
14.50% (116/800) |
src/c-toxcore/toxcore/group_moderation_fuzz_test.cc |
100.00% (24/24) |
100.00% (4/4) |
100.00% (14/14) |
src/c-toxcore/toxcore/group_onion_announce.c |
6.25% (4/64) |
33.33% (1/3) |
1.77% (2/113) |
src/c-toxcore/toxcore/group_pack.c |
87.35% (290/332) |
100.00% (18/18) |
82.79% (510/616) |
src/c-toxcore/toxcore/list.c |
89.06% (114/128) |
100.00% (8/8) |
84.26% (91/108) |
src/c-toxcore/toxcore/logger.c |
82.93% (34/41) |
80.00% (4/5) |
81.40% (35/43) |
src/c-toxcore/toxcore/mem.c |
88.24% (30/34) |
100.00% (6/6) |
75.00% (18/24) |
src/c-toxcore/toxcore/mono_time.c |
76.62% (59/77) |
80.00% (8/10) |
62.07% (36/58) |
src/c-toxcore/toxcore/net.c |
59.57% (112/188) |
64.44% (29/45) |
38.67% (29/75) |
src/c-toxcore/toxcore/net_crypto.c |
6.75% (118/1748) |
18.48% (17/92) |
5.48% (108/1971) |
src/c-toxcore/toxcore/net_crypto_fuzz_test.cc |
95.00% (76/80) |
75.00% (6/8) |
94.59% (35/37) |
src/c-toxcore/toxcore/net_log.c |
12.10% (19/157) |
25.00% (1/4) |
45.83% (22/48) |
src/c-toxcore/toxcore/net_profile.c |
27.16% (22/81) |
33.33% (3/9) |
29.70% (30/101) |
src/c-toxcore/toxcore/network.c |
52.56% (380/723) |
71.43% (40/56) |
45.65% (420/920) |
src/c-toxcore/toxcore/onion.c |
11.16% (56/502) |
15.00% (3/20) |
4.87% (68/1395) |
src/c-toxcore/toxcore/onion_announce.c |
10.83% (43/397) |
12.00% (3/25) |
5.86% (45/768) |
src/c-toxcore/toxcore/onion_client.c |
16.75% (229/1367) |
32.35% (22/68) |
13.18% (212/1609) |
src/c-toxcore/toxcore/os_memory.c |
25.00% (3/12) |
25.00% (1/4) |
25.00% (1/4) |
src/c-toxcore/toxcore/os_network.c |
31.02% (112/361) |
44.83% (26/58) |
27.63% (84/304) |
src/c-toxcore/toxcore/os_random.c |
29.41% (5/17) |
33.33% (1/3) |
42.86% (6/14) |
src/c-toxcore/toxcore/ping.c |
13.43% (29/216) |
22.22% (2/9) |
16.40% (31/189) |
src/c-toxcore/toxcore/ping_array.c |
61.62% (61/99) |
83.33% (5/6) |
60.53% (46/76) |
src/c-toxcore/toxcore/rng.c |
50.00% (3/6) |
50.00% (1/2) |
50.00% (1/2) |
src/c-toxcore/toxcore/shared_key_cache.c |
74.71% (65/87) |
80.00% (4/5) |
47.40% (73/154) |
src/c-toxcore/toxcore/sort.c |
0.00% (0/91) |
0.00% (0/7) |
0.00% (0/80) |
src/c-toxcore/toxcore/state.c |
92.59% (75/81) |
100.00% (10/10) |
87.21% (75/86) |
src/c-toxcore/toxcore/timed_auth.c |
0.00% (0/23) |
0.00% (0/3) |
0.00% (0/21) |
src/c-toxcore/toxcore/tox.c |
15.77% (520/3297) |
24.77% (54/218) |
9.57% (734/7669) |
src/c-toxcore/toxcore/tox_api.c |
0.00% (0/1212) |
0.00% (0/106) |
0.00% (0/584) |
src/c-toxcore/toxcore/tox_dispatch.c |
86.01% (338/393) |
97.73% (43/44) |
95.85% (254/265) |
src/c-toxcore/toxcore/tox_event.c |
56.03% (446/796) |
72.73% (8/11) |
67.71% (239/353) |
src/c-toxcore/toxcore/tox_events.c |
39.42% (123/312) |
84.62% (11/13) |
53.89% (97/180) |
src/c-toxcore/toxcore/tox_events_fuzz_test.cc |
100.00% (67/67) |
100.00% (3/3) |
81.48% (22/27) |
src/c-toxcore/toxcore/tox_options.c |
67.79% (141/208) |
86.36% (38/44) |
49.70% (83/167) |
src/c-toxcore/toxcore/tox_pack.c |
100.00% (33/33) |
100.00% (11/11) |
100.00% (11/11) |
src/c-toxcore/toxcore/tox_private.c |
6.86% (19/277) |
23.53% (4/17) |
4.75% (19/400) |
src/c-toxcore/toxcore/tox_unpack.c |
83.33% (220/264) |
100.00% (22/22) |
100.00% (132/132) |
src/c-toxcore/toxcore/util.c |
40.18% (45/112) |
31.82% (7/22) |
32.79% (40/122) |
Totals |
27.92% (11597/41531) |
38.81% (1282/3303) |
22.05% (11250/51018) |