Subroutine Coverage

blib/lib/YAHC.pm
Criterion Covered Total %
subroutine 54 84 64.2
pod 26 26 100.0


line count pod subroutine
3 20 n/a BEGIN
4 20 n/a BEGIN
8 20 n/a BEGIN
9 20 n/a BEGIN
10 20 n/a BEGIN
11 20 n/a BEGIN
12 20 n/a BEGIN
13 20 n/a BEGIN
14 20 n/a BEGIN
15 20 n/a BEGIN
15 20 n/a BEGIN
16 20 n/a BEGIN
17 20 n/a BEGIN
60 20 n/a BEGIN
90 11 Yes new
119 1 n/a __ANON__
127 16 Yes request
205 0 Yes drop
213 11 Yes run
214 0 Yes run_once
215 0 Yes run_tick
216 3 Yes is_running
217 10 Yes loop
220 3 Yes break
231 6 Yes yahc_terminal_error
235 0 Yes yahc_reinit_conn
250 0 Yes yahc_retry_conn
263 1 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 4 Yes yahc_conn_user_data
308 11 n/a _run
354 2 n/a _check_stop_condition
376 16 n/a _set_init_state
405 0 n/a __ANON__
426 0 n/a __ANON__
438 14 n/a _init_helper
466 0 n/a __ANON__
486 14 n/a _set_connecting_state
496 13 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 8 n/a _set_read_state
667 9 n/a __ANON__
776 9 n/a _set_user_action_state
827 9 n/a _set_completed_state
849 14 n/a _build_socket_and_connect
868 18 n/a _get_next_target
885 34 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 8 n/a _parse_http_headers
1038 16 n/a _delete_watchers_but_lifetime_timer
1049 16 n/a _wrap_host
1052 3 n/a __ANON__
1056 14 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 24 n/a _get_safe_wrapper
1118 23 n/a __ANON__
1126 48 n/a _register_in_timeline
1133 15 Yes yahc_conn_register_error
1140 30 n/a _strstate
1154 0 n/a _log_message
1160 0 n/a _format_ssl_error