Coverage

Total: 92%

ModuleCoverage
mysql_protocol91%
mysql_conn93%
mysql83%
mysql_encode100%
mysql_cache100%

Generated using /home/w3work/contrib/mysql-otp/eunit and erlang.mk on 2020-10-12T09:28:18Z.

Output of make --no-print-directory tests COVER=1 COVER_REPORT_DIR=

 GEN    test-dir
 GEN    eunit
======================== EUnit ========================
module 'mysql'
  module 'mysql_tests'
    mysql_tests: connect_synchronous_test...[0.027 s] ok
    mysql_tests: connect_asynchronous_successful_test...[0.002 s] ok
    mysql_tests: connect_asynchronous_failing_test...[0.011 s] ok
    mysql_tests: connect_lazy_test...[0.004 s] ok
    mysql_tests: failing_connect_test...[0.003 s] ok
    mysql_tests: successful_connect_test...[0.007 s] ok
    mysql_tests: exit_normal_test...[0.004 s] ok
    mysql_tests: server_disconnect_test...[1.011 s] ok
    mysql_tests: tcp_error_test...[0.004 s] ok
    mysql_tests: keep_alive_test...[0.096 s] ok
    mysql_tests: reset_connection_test...[0.013 s] ok
    mysql_tests: unix_socket_test...[0.006 s] ok
    mysql_tests: connect_queries_failure_test...[0.003 s] ok
    mysql_tests: connect_prepare_failure_test...[0.005 s] ok
    mysql_tests: query_test_ (Select db on connect)...[0.003 s] ok
    mysql_tests: query_test_ (Autocommit)...[0.001 s] ok
    mysql_tests: query_test_ (Encode)...[0.005 s] ok
    mysql_tests: query_test_ (Basic queries)...[0.002 s] ok
    mysql_tests: query_test_ (Filtermap queries)...[0.018 s] ok
    mysql_tests: query_test_ (FOUND_ROWS option)...[0.016 s] ok
    mysql_tests: query_test_ (Multi statements)...[0.019 s] ok
    mysql_tests: query_test_ (Text protocol)...[0.019 s] ok
    mysql_tests: query_test_ (Binary protocol)...[0.018 s] ok
    mysql_tests: query_test_ (FLOAT rounding)...[0.100 s] ok
    mysql_tests: query_test_ (DECIMAL)...[0.094 s] ok
    mysql_tests: query_test_ (INT)...[0.221 s] ok
    mysql_tests: query_test_ (BIT(N))...[0.027 s] ok
    mysql_tests: query_test_ (DATE)...[0.031 s] ok
    mysql_tests: query_test_ (TIME)...[0.081 s] ok
    mysql_tests: query_test_ (DATETIME)...[0.033 s] ok
    mysql_tests: query_test_ (JSON)...=INFO REPORT==== 12-Oct-2020::11:28:11.746642 ===
Skipping JSON test. Current MySQL version is 5.6.33-0ubuntu0.14.04.1. Required version is >= 5.7.8.

[0.001 s] ok
    mysql_tests: query_test_ (Microseconds)...[0.045 s] ok
    mysql_tests: query_test_ (Invalid params)...[0.001 s] ok
    mysql_tests: local_files_test_ (Single statement)...[0.014 s] ok
    mysql_tests: local_files_test_ (Missing file)...[0.015 s] ok
    mysql_tests: local_files_test_ (Not allowed)...[0.012 s] ok
    mysql_tests: local_files_test_ (Multi statements)...[0.015 s] ok
    mysql_tests: log_warnings_test...[0.025 s] ok
    mysql_tests: log_slow_queries_test...[0.612 s] ok
    mysql_tests: timeout_test_...[0.155 s] ok
    mysql_tests: with_table_foo_test_ (Prepared statements)...[0.003 s] ok
    mysql_tests: with_table_foo_test_ (Parametrized queries)...[0.160 s] ok
    mysql_tests: gen_server_coverage_test...ok
    [done in 3.192 s]
  [done in 3.192 s]
module 'mysql_cache'
  mysql_cache: empty_test...ok
  mysql_cache: nonempty_test...[0.052 s] ok
  [done in 0.060 s]
module 'mysql_conn'
module 'mysql_encode'
  module 'mysql_encode_tests'
    mysql_encode_tests: encode_test...[0.001 s] ok
    mysql_encode_tests: backslash_escape_test...ok
    [done in 0.008 s]
  [done in 0.008 s]
module 'mysql_protocol'
  mysql_protocol: decode_text_test...ok
  mysql_protocol: decode_binary_test...ok
  mysql_protocol: null_bitmap_test...ok
  mysql_protocol: lenenc_int_test...ok
  mysql_protocol: lenenc_str_test...ok
  mysql_protocol: nulterm_test...ok
  mysql_protocol: parse_header_test...ok
  mysql_protocol: add_packet_headers_test...[0.001 s] ok
  mysql_protocol: add_packet_headers_equal_to_0xffffff_test...[0.676 s] ok
  mysql_protocol: add_packet_headers_greater_than_0xffffff_test...[0.672 s] ok
  mysql_protocol: add_packet_headers_2_times_greater_than_0xffffff_test...[0.725 s] ok
  mysql_protocol: parse_ok_test...ok
  mysql_protocol: parse_error_test...ok
  mysql_protocol: parse_eof_test...ok
  mysql_protocol: hash_password_test...ok
  mysql_protocol: valid_params_test...ok
  mysql_protocol: valid_path_test...ok
  mysql_protocol: allowed_path_test...[0.001 s] ok
  module 'mysql_protocol_tests'
    mysql_protocol_tests: resultset_test...[0.013 s] ok
    mysql_protocol_tests: resultset_error_test...[0.006 s] ok
    mysql_protocol_tests: prepare_test...[0.002 s] ok
    mysql_protocol_tests: bad_protocol_version_test...ok
    mysql_protocol_tests: error_as_initial_packet_test...ok
    mysql_protocol_tests: hexdump_to_bin_test...ok
    [done in 0.053 s]
  [done in 2.270 s]
module 'mock_tcp'
  mock_tcp: bad_recv_test...ok
  mock_tcp: success_test...[0.102 s] ok
  [done in 0.109 s]
ssl_tests: successful_ssl_connect_test (module 'ssl_tests')...[0.477 s] ok
module 'transaction_tests'
  transaction_tests: single_connection_test_ (Simple atomic)...[0.003 s] ok
  transaction_tests: single_connection_test_ (Simple aborted)...[0.005 s] ok
  transaction_tests: single_connection_test_ (Nested atomic)...[0.005 s] ok
  transaction_tests: single_connection_test_ (Nested inner aborted)...[0.005 s] ok
  transaction_tests: single_connection_test_ (Implicit commit)...[0.017 s] ok
  transaction_tests: fun.application_process_kill...[0.020 s] ok
  transaction_tests: deadlock_test_ (Plain queries)...[0.008 s] ok
  transaction_tests: deadlock_test_ (Prep stmts)...[0.008 s] ok
  transaction_tests: deadlock_test_ (No retry)...[0.006 s] ok
  transaction_tests: deadlock_test_ (Lock wait timeout)...[2.006 s] ok
  [done in 2.152 s]
module 'error_logger_acc'
  error_logger_acc: capture_success_test...[0.002 s] ok
  error_logger_acc: capture_failure_test...[0.002 s] ok
  [done in 0.010 s]
module 'mysql_change_user_tests'
  mysql_change_user_tests: correct_credentials_test...[0.004 s] ok
  mysql_change_user_tests: incorrect_credentials_fail_test...[0.006 s] ok
  mysql_change_user_tests: reset_variables_test...[0.004 s] ok
  mysql_change_user_tests: reset_temptables_test...[0.013 s] ok
  mysql_change_user_tests: fail_in_unmanaged_transaction_test...[0.004 s] ok
  mysql_change_user_tests: fail_in_managed_transaction_test...[0.004 s] ok
  mysql_change_user_tests: with_db_test...[0.006 s] ok
  mysql_change_user_tests: execute_queries_test...[0.004 s] ok
  mysql_change_user_tests: execute_queries_failure_test...[0.006 s] ok
  mysql_change_user_tests: prepare_statements_test...[0.005 s] ok
  mysql_change_user_tests: prepare_statements_failure_test...[0.007 s] ok
  [done in 0.099 s]
=======================================================
  All 97 tests passed.