Branch Coverage

blib/lib/IMDB/BaseClass.pm
Criterion Covered Total %
branch 0 98 0.0


line true false branch
120 0 0 unless ($prop =~ /^_/)
121 0 0 defined $args{$prop} ? :
125 0 0 if ($self->_cache)
129 0 0 if $self->_clear_cache
132 0 0 if ($self->_proxy) { }
151 0 0 if (@_)
164 0 0 if (@_)
178 0 0 if (@_)
192 0 0 if (@_)
212 0 0 if (@_)
218 0 0 if (@_)
232 0 0 if (@_)
246 0 0 if ($_)
259 0 0 if (@_)
275 0 0 if (@_)
281 0 0 if @_
293 0 0 if $type =~ /^debug$/i and not $self->_debug
295 0 0 if ($type =~ /(debug|info|warn)/i) { }
311 0 0 if (@_)
331 0 0 if (@_)
348 0 0 if (@_)
354 0 0 if (@_)
370 0 0 if (@_)
387 0 0 if (@_)
391 0 0 if $crit =~ /^\d{6,8}$/
392 0 0 if $self->_cache
396 0 0 if (not $page) { }
397 0 0 if (-f $crit) { }
402 0 0 unless open FILE, $crit
409 0 0 $crit =~ /^\d+$/ && length $crit >= 6 ? :
416 0 0 if $self->_cache
436 0 0 unless ($page)
457 0 0 if ($forced)
458 0 0 defined $page ? :
460 0 0 unless my $parser = 'HTML::TokeParser'->new($content)
483 0 0 if $text =~ /$target/i
487 0 0 if $target eq 'trivia'
488 0 0 if $target eq 'Production Co'
489 0 0 if $target eq 'aspect ratio'
517 0 0 if $title =~ /\[IMG\]/i or not $href or $href =~ /pro.imdb.com/
523 0 0 if (my($id) = $href =~ /$pattern/)
525 0 0 if $year and $title =~ /$year/ and not @guess_res
538 0 0 if (@guess_res) { }
564 0 0 if (@_)
570 0 0 if (@_)
586 0 0 if ($$tag[1]{'href'} and $$tag[1]{'href'} =~ /$pattern/)
603 0 0 if (@_)
604 0 0 if $$self{'error'}
609 0 0 if ($self->_decode_html)