Condition Coverage

blib/lib/POE/Component/Client/Whois.pm
Criterion Covered Total %
condition 8 29 27.5


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
184 0 1 0 $self->{'request'}{'referral'} and $self->{'_referral'}
197 0 0 1 defined $request->{'reply'} and ref $request->{'reply'} eq 'ARRAY'
214 0 0 0 $scheme and $authority
221 34 0 0 $self->{'request'}{'host'} eq $self->{'_dot_com'} || $self->{'request'}{'host'} eq $self->{'_dot_org'} and my($other) = $line =~ /Whois Server:\s+(.*)\s*$/i

or 2 conditions

line l !l condition
125 1 0 $self->{'request'}{'port'} || 43

or 3 conditions

line l !l&&r !l&&!r condition
221 0 0 34 $self->{'request'}{'host'} eq $self->{'_dot_com'} || $self->{'request'}{'host'} eq $self->{'_dot_org'}