Condition Coverage

blib/lib/Biblio/Refbase.pm
Criterion Covered Total %
condition 17 42 40.4


and 3 conditions

line !l l&&!r l&&r condition
194 2 0 4 ref $ua and $ua->isa('LWP::UserAgent')
359 1 0 8 defined $name and length $name
370 7 0 2 defined $name and length $name
492 1 0 1 $response->is_redirect and my $cookie = $response->header('set-cookie')
520 8 0 0 defined $relogin && $relogin =~ /(\d+)/

or 2 conditions

line l !l condition
253 0 0 $$q{'headerMsg'} || ''
254 0 0 $$q{'records'} || ''
514 8 0 delete $$args{'url'} || $self->url || 'http://localhost/'
523 8 0 delete $$args{'user'} || $self->user || 'user@refbase.net'
8 0 delete $$args{'password'} || $self->password || 'start'
621 0 6 $name || $self->format || 'ASCII'

or 3 conditions

line l !l&&r !l&&!r condition
256 0 0 0 $$search{'records'} ||= $$q{'records'}
257 0 0 0 $$search{'rows'} ||= $rows
557 6 0 0 not exists $$args{'style'} or defined(my $style = delete $$args{'style'})
564 1 0 17 delete $$args{$_} || $self->$_
626 0 0 6 $name || $self->style