Condition Coverage

blib/lib/POE/Component/Client/Whois.pm
Criterion Covered Total %
condition 7 26 26.9


and 3 conditions

line !l l&&!r l&&r condition
19 3 0 0 defined $args{'referral'} and not $args{'referral'}
21 0 0 3 $args{'query'} and $args{'event'}
31 0 0 0 $_ >= 0 && $_ <= 255
2 0 0 $args{'query'} =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/ and scalar grep(($_ >= 0 && $_ <= 255), split(/\./, $args{'query'}, 0)) == 4
183 0 1 0 $$self{'request'}{'referral'} and $$self{'_referral'}
196 0 0 1 defined $$request{'reply'} and ref $$request{'reply'} eq 'ARRAY'
213 0 0 0 $scheme and $authority
220 34 0 0 $$self{'request'}{'host'} eq $$self{'_dot_com'} and my($other) = $line =~ /Whois Server:\s+(.*)\s*$/i

or 2 conditions

line l !l condition
119 1 0 $$self{'request'}{'port'} || 43