6b08c1e3f982d340e5d9dcd7ed0b277414b36868
[oweals/gnunet.git] / doc / coverage.txt
1 Summary of test coverage (configure with --enable-coverage
2 and run contrib/coverage.sh to generate a detailed report):
3 * UTIL      : 78.7%
4 * HELLO     : 93.7%
5 * ARM       : 69.9%
6 * RESOLVER  : 60.4%
7 * STATISTICS: 82.8%
8 * PEERINFO  : 71.5%
9 * TRANSPORT : 70.9%
10 * CORE      : 65.8%
11 ===================
12 * TOTAL     : 74.9%
13
14 Not yet tested:
15 * HOSTLIST  :  0.0%
16 * TOPOLOGY  :  0.0%
17
18
19
20 TESTCASES WANTED:
21 =================
22
23 For these functions, it would be nice if we had testcases ("make check")
24 that would cause them to be executed and check that they are working:
25 * gnunet-service-peerinfo:
26   - change_host_trust / flush_trust 
27   - remove_garbage 
28   - discard_hosts_helper / cron_clean_data_hosts
29 * gnunet-service-transport:
30   - try_unvalidated_addresses
31   - lookup_address_callback
32   - lookup_hello_callback
33   - plugin_env_lookup_address
34   - notify_clients_disconnect
35   - list_validated_addresses
36   - cleanup_validation
37   - disconnect_neighbour
38   - handle_set_quota
39 * plugin_transport_tcp.c:
40   - tcp_plugin_cancel
41   - tcp_plugin_address_pretty_printer / append_port
42   - tcp_plugin_set_receive_quota
43   - delayed_done
44 * transport_api:
45   - GNUNET_TRANSPORT_set_qutoa / send_set_quota
46   - hello_wait_timeout 
47   - transmit_ready
48   - transmit_timeout
49   - remove_from_any_list / remove_neighbour
50   - GNUNET_TRANSPORT_notify_transmit_ready_cancel
51   - Testcases for set_quota, timeouts, disconnects, transmit_ready_cancel
52   - gnunet-service-transport HELLO validation (how good is our coverage?)
53   - direct test of plugins compliance to plugin API
54 * core_api:
55   - timeout_request
56   - solicit_traffic / copy_and_free
57   - GNUNET_CORE_peer_configure / produce_configure_message
58 * gnunet-service-core:
59   - update_window
60   - find_client
61   - handle_client_request_configure
62   - set_key_retry_task
63   - align_and_deliver
64   - handle_transport_notify_disconnect
65 * hostlist (everything)
66 * topology (everything)