Condition Coverage

blib/lib/Perlbal/ReproxyManager.pm
Criterion Covered Total %
condition 12 28 42.8


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 17 $self and $cp
102 29 0 2 $ReproxyConnecting{$ipport} and $ReproxyConnecting{$ipport} == $be
188 0 14 0 $$bbe{'disconnect_at'} and $now + 2 > $$bbe{'disconnect_at'}
205 3 0 0 $max and $count >= $max

or 2 conditions

line l !l condition
51 15 2 $ReproxyQueues{$ipport} ||= []
104 2 0 $ReproxyBackends{$ipport} ||= []
126 14 1 $ReproxyBored{$ipport} ||= []
203 0 3 $ReproxyMax{$ipport} || $ReproxyGlobalMax || 0
251 0 0 $ReproxyGlobalMax || 0

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 $$_{'closed'} || $$_{'client'} && $$_{'client'}{'closed'}
188 0 0 14 $$bbe{'disconnect_at'} and $now + 2 > $$bbe{'disconnect_at'} or $$bbe{'alive_time'} < $now - 5