fix potential use of uninitialized key
[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      : 77.8%
4 * HELLO     : 93.4%
5 * ARM       : 69.2%
6 * RESOLVER  : 60.9%
7 * STATISTICS: 84.1%
8 * PEERINFO  : 71.5%
9 * TRANSPORT : 68.6%
10 * CORE      : 65.3%
11 * DATACACHE : 79.8%
12 * DATASTORE : 78.9%
13 ===================
14 * TOTAL     : 74.6%
15
16 Not yet tested (but presumably implemented):
17 * HOSTLIST  :  0.0%
18 * TOPOLOGY  :  0.0%
19
20
21 TESTCASES WANTED:
22 =================
23
24 For these functions, it would be nice if we had testcases ("make check")
25 that would cause them to be executed and check that they are working:
26 * gnunet-service-peerinfo:
27   - change_host_trust / flush_trust 
28   - remove_garbage 
29   - discard_hosts_helper / cron_clean_data_hosts
30 * gnunet-service-transport:
31   - try_unvalidated_addresses
32   - lookup_address_callback
33   - lookup_hello_callback
34   - plugin_env_lookup_address
35   - notify_clients_disconnect
36   - list_validated_addresses
37   - cleanup_validation
38   - disconnect_neighbour
39   - handle_set_quota
40 * plugin_transport_tcp.c:
41   - tcp_plugin_cancel
42   - tcp_plugin_address_pretty_printer / append_port
43   - tcp_plugin_set_receive_quota
44   - delayed_done
45 * transport_api:
46   - GNUNET_TRANSPORT_set_qutoa / send_set_quota
47   - hello_wait_timeout 
48   - transmit_ready
49   - transmit_timeout
50   - remove_from_any_list / remove_neighbour
51   - GNUNET_TRANSPORT_notify_transmit_ready_cancel
52   - Testcases for set_quota, timeouts, disconnects, transmit_ready_cancel
53   - gnunet-service-transport HELLO validation (how good is our coverage?)
54   - direct test of plugins compliance to plugin API
55 * core_api:
56   - timeout_request
57   - solicit_traffic / copy_and_free
58   - GNUNET_CORE_peer_configure / produce_configure_message
59 * gnunet-service-core:
60   - update_window
61   - find_client
62   - handle_client_request_configure
63   - set_key_retry_task
64   - align_and_deliver
65   - handle_transport_notify_disconnect
66 * hostlist (everything)
67 * topology (everything)