Condition Coverage

blib/lib/IMDB/BaseClass.pm
Criterion Covered Total %
condition 0 44 0.0


and 3 conditions

line !l l&&!r l&&r condition
293 0 0 0 $type =~ /^debug$/i and not $self->_debug
409 0 0 0 $crit =~ /^\d+$/ && length $crit >= 6
525 0 0 0 $year and $title =~ /$year/
0 0 0 $year and $title =~ /$year/ and not @guess_res
586 0 0 0 $$tag[1]{'href'} and $$tag[1]{'href'} =~ /$pattern/

or 2 conditions

line l !l condition
290 0 0 shift() || 'Unknown error'
291 0 0 shift() || 'ERROR'
388 0 0 shift() || ''
454 0 0 shift() || 0
455 0 0 shift() || undef
475 0 0 shift() || ''
505 0 0 shift() || '/li'

or 3 conditions

line l !l&&r !l&&!r condition
100 0 0 0 ref $caller || $caller
504 0 0 0 shift() || croak('Please, specify search pattern!')
517 0 0 0 $title =~ /\[IMG\]/i or not $href
0 0 0 $title =~ /\[IMG\]/i or not $href or $href =~ /pro.imdb.com/
576 0 0 0 $IMDB::BaseClass::STATUS_DESCR{$$self{'status'}} || $$self{'status'}