Branch Coverage

blib/lib/Net/Whois/RIPE.pm
Criterion Covered Total %
branch 36 54 66.6


line true false branch
208 3 27 exists $options{$_} ? :
212 1 2 unless delete $self->{'__options'}{'disconnected'}
226 1 7 if defined $hostname
239 1 9 if defined $port and $port =~ /^\d+$/
252 1 15 if defined $timeout and $timeout =~ /^\d+$/
274 8 24 if (scalar @_ == 1)
276 4 4 $value ? :
359 0 5 unless defined $socket
363 3 2 if (my $ios = $self->ios) { }
364 3 0 unless $ios->exists($socket)
370 0 5 if $self->keepalive
404 0 0 unless $self->is_connected
405 0 0 if ($self->ios->can_write(30 + $self->timeout))
421 3 0 if $self->is_connected
435 5 2 if ($self->is_connected)
439 5 0 if $self->{'__state'}{'ioselect'}
454 12 3 UNIVERSAL::isa($socket, 'IO::Socket') && $socket->connected ? :
482 0 1 if $self->keepalive
483 0 1 if $self->unfiltered
484 1 0 unless $self->recursive
485 0 1 if $self->referral
494 2 0 unless $self->keepalive
495 0 2 unless $self->is_connected
497 2 0 if ($self->ios->can_write(30 + $self->timeout))
503 4 0 if ($self->ios->can_read(30 + $self->timeout))
505 4 0 if defined $block
533 1 1 unless $value =~ /^%\s/