Branch Coverage

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


line true false branch
207 3 27 exists $options{$_} ? :
211 1 2 unless delete $self->{'__options'}{'disconnected'}
225 1 7 if defined $hostname
238 1 9 if defined $port and $port =~ /^\d+$/
251 1 15 if defined $timeout and $timeout =~ /^\d+$/
273 8 24 if (scalar @_ == 1)
275 4 4 $value ? :
358 0 5 unless defined $socket
362 3 2 if (my $ios = $self->ios) { }
363 3 0 unless $ios->exists($socket)
369 0 5 if $self->keepalive
403 0 0 unless $self->is_connected
404 0 0 if ($self->ios->can_write(30 + $self->timeout))
420 3 0 if $self->is_connected
434 5 2 if ($self->is_connected)
438 5 0 if $self->{'__state'}{'ioselect'}
453 12 3 UNIVERSAL::isa($socket, 'IO::Socket') && $socket->connected ? :
481 0 1 if $self->keepalive
482 0 1 if $self->unfiltered
483 1 0 unless $self->recursive
484 0 1 if $self->referral
493 2 0 unless $self->keepalive
494 0 2 unless $self->is_connected
496 2 0 if ($self->ios->can_write(30 + $self->timeout))
502 4 0 if ($self->ios->can_read(30 + $self->timeout))
504 4 0 if defined $block
532 1 1 unless $value =~ /^%\s/