Condition Coverage

blib/lib/Shardcache/Client.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
41 0 0 0 ref $host and ref $host eq 'ARRAY'
102 0 0 0 ref $records and ref $records eq 'ARRAY'
156 0 0 0 $$self{'_sock'}{"${addr}:$port"} && $$self{'_sock'}{"${addr}:$port"}->connected
286 0 0 0 $key and defined $value
293 0 0 0 defined $resp && unpack('C', $resp) == 0
298 0 0 0 $key and defined $value
305 0 0 0 defined $resp && unpack('C', $resp) == 0
389 0 0 0 $$self{'_sock'}{$sock_key} && $$self{'_sock'}{$sock_key}->connected
433 0 0 0 $ksize and $kdata

or 3 conditions

line l !l&&r !l&&!r condition
156 0 0 0 not $$self{'_sock'}{"${addr}:$port"} && $$self{'_sock'}{"${addr}:$port"}->connected or $$self{'_sock'}{"${addr}:$port"}->write("\220") != 1
389 0 0 0 not $$self{'_sock'}{$sock_key} && $$self{'_sock'}{$sock_key}->connected or $$self{'_sock'}{$sock_key}->write("\220") != 1