Subroutine Coverage

blib/lib/YAHC.pm
Criterion Covered Total %
subroutine 52 84 61.9
pod 26 26 100.0


line count pod subroutine
3 16 n/a BEGIN
4 16 n/a BEGIN
8 16 n/a BEGIN
9 16 n/a BEGIN
10 16 n/a BEGIN
11 16 n/a BEGIN
12 16 n/a BEGIN
13 16 n/a BEGIN
14 16 n/a BEGIN
15 16 n/a BEGIN
15 16 n/a BEGIN
16 16 n/a BEGIN
17 16 n/a BEGIN
60 16 n/a BEGIN
90 9 Yes new
119 1 n/a __ANON__
127 10 Yes request
205 0 Yes drop
213 6 Yes run
214 0 Yes run_once
215 0 Yes run_tick
216 3 Yes is_running
217 5 Yes loop
220 3 Yes break
231 1 Yes yahc_terminal_error
235 0 Yes yahc_reinit_conn
250 0 Yes yahc_retry_conn
263 0 Yes yahc_conn_last_error
268 0 Yes yahc_conn_id
269 0 Yes yahc_conn_state
270 0 Yes yahc_conn_errors
271 0 Yes yahc_conn_timeline
272 0 Yes yahc_conn_request
273 0 Yes yahc_conn_response
274 4 Yes yahc_conn_attempt
275 4 Yes yahc_conn_attempts_left
278 4 Yes yahc_conn_target
285 0 Yes yahc_conn_url
298 0 Yes yahc_conn_user_data
308 6 n/a _run
354 2 n/a _check_stop_condition
376 14 n/a _set_init_state
405 0 n/a __ANON__
426 0 n/a __ANON__
438 13 n/a _init_helper
466 0 n/a __ANON__
486 13 n/a _set_connecting_state
496 12 n/a __ANON__
519 1 n/a _set_connected_state
529 0 n/a __ANON__
542 0 n/a _set_ssl_handshake_state
571 0 n/a __ANON__
593 1 n/a _set_write_state
613 1 n/a __ANON__
647 3 n/a _set_read_state
667 2 n/a __ANON__
776 3 n/a _set_user_action_state
827 3 n/a _set_completed_state
849 13 n/a _build_socket_and_connect
868 17 n/a _get_next_target
885 20 n/a _close_or_cache_socket
918 0 Yes yahc_conn_socket_cache_id
931 0 n/a _set_until_state_timer
942 0 n/a __ANON__
959 0 n/a _set_lifetime_timer
973 0 n/a __ANON__
986 33 n/a _build_http_message
1008 3 n/a _parse_http_headers
1038 14 n/a _delete_watchers_but_lifetime_timer
1049 10 n/a _wrap_host
1052 3 n/a __ANON__
1056 13 n/a __ANON__
1063 0 n/a _wrap_backoff
1066 0 n/a __ANON__
1073 0 n/a _wrap_socket_cache
1078 0 n/a __ANON__
1096 0 n/a _call_state_callback
1114 18 n/a _get_safe_wrapper
1118 15 n/a __ANON__
1126 22 n/a _register_in_timeline
1133 12 Yes yahc_conn_register_error
1140 15 n/a _strstate
1154 0 n/a _log_message
1160 0 n/a _format_ssl_error