Branch Coverage

blib/lib/App/IMDBtop.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
25 2 0 if $tag->[1]{'class'} and $tag->[1]{'class'} =~ /^cast_list$/iu
28 0 0 if $tag->[0] eq 'a' and $tag->[1]{'href'} and $tag->[1]{'href'} =~ /fullcredits/iu
31 32 194 if ($tag->[1]{'href'} and $tag->[1]{'href'} =~ m[name/nm(\d+?)/]u)
36 30 2 if $person
48 0 2 if defined $cache
49 0 2 if defined $cache_root
52 2 0 unless (@cast)
53 1 1 unless $warned
69 0 0 unless $cast_count{$b} <=> $cast_count{$a}
72 0 0 unless not $min_count
74 0 0 if $nr and $cnt++ >= $nr