coverage.txt 1.9 KB

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