Branch Coverage

blib/lib/EV/Redis.pm
Criterion Covered Total %
branch 26 62 41.9


line true false branch
18 0 0 if exists $args{'host'} and exists $args{'path'}
20 0 0 if $args{'prefer_ipv4'} and $args{'prefer_ipv6'}
26 0 6 if exists $args{'on_connect'}
27 0 6 if exists $args{'on_disconnect'}
28 0 6 if exists $args{'on_push'}
29 0 6 if defined $args{'connect_timeout'}
30 0 6 if defined $args{'command_timeout'}
31 0 6 if defined $args{'max_pending'}
32 0 6 if defined $args{'waiting_timeout'}
33 0 6 if defined $args{'resume_waiting_on_reconnect'}
34 0 6 if defined $args{'priority'}
35 0 6 if defined $args{'keepalive'}
36 0 6 if exists $args{'prefer_ipv4'}
37 0 6 if exists $args{'prefer_ipv6'}
38 0 6 if defined $args{'source_addr'}
39 0 6 if defined $args{'tcp_user_timeout'}
40 0 6 if exists $args{'cloexec'}
41 0 6 if exists $args{'reuseaddr'}
44 0 6 if ($args{'reconnect'})
53 1 5 if ($args{'tls'})
54 0 1 unless $self->has_ssl
57 1 0 if exists $args{'path'}
61 0 0 $args{'tls_verify'} ? :
0 0 exists $args{'tls_verify'} ? :
65 0 5 if (exists $args{'host'}) { }
0 5 elsif (exists $args{'path'}) { }
66 0 0 unless defined $args{'host'}
69 0 0 defined $args{'port'} ? :
72 0 0 unless defined $args{'path'}
83 0 1 if $method eq "DESTROY"
101 1 1 if $code