blib/lib/MogileFS/Backend.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 41 | 24.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 1 | 0 | 0 | $args{'timeout'} and not $args{'timeout'} =~ /^\d+$/ |
97 | 0 | 0 | 0 | $$self{'pref_ip'} and ref $$self{'pref_ip'} eq 'HASH' |
104 | 0 | 0 | 0 | $fileno and $timeout |
120 | 0 | 0 | 1 | $cmd and $args |
258 | 0 | 0 | 1 | not $ret and $timeout |
0 | 0 | 1 | not $ret and $timeout and $! == 115 | |
266 | 0 | 1 | 0 | not $ret and $! == 106 |
288 | 1 | 0 | 0 | $$self{'pref_ip'} and my $prefip = $$self{'pref_ip'}{$ip} |
335 | 1 | 0 | 0 | $$self{'host_dead'}{$host} and $$self{'host_dead'}{$host} > $now - 5 |
line | l | !l | condition |
---|---|---|---|
61 | 0 | 1 | $args{'timeout'} || 3 |
73 | 0 | 0 | shift() || (return) |
85 | 0 | 0 | shift() || (return) |
245 | 0 | 1 | $timeout ||= 0.25 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
136 | 0 | 0 | 0 | $! or not defined $rv |
284 | 0 | 1 | 0 | $MogileFS::Backend::PROTO_TCP ||= getprotobyname 'tcp' |