Branch Coverage

blib/lib/IMDB/Persons.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
112 0 0 unless $args{'crit'} or $args{'file'}
117 0 0 if /^_/
157 0 0 unless (defined $$self{'_name'})
169 0 0 if ($$tag[1]{'class'} and $$tag[1]{'class'} eq 'media_strip_header')
175 0 0 if ($title =~ /imdb\s+name\s+search/i and not $no_matches)
180 0 0 if $title =~ /IMDb Name Search/i
181 0 0 if ($title) { }
183 0 0 unless $self->code
206 0 0 unless (defined $$self{'_mini_bio'})
209 0 0 if $$tag[1]{'class'} and $$tag[1]{'class'} eq 'infobar'
229 0 0 unless (defined $$self{'_date_of_birth'})
233 0 0 if $text =~ /^Born/i
240 0 0 if $$tag[0] eq '/td'
242 0 0 if ($$tag[0] eq 'a')
244 0 0 unless $text
247 0 0 if (/birth_monthday/i)
248 0 0 if (/birth_year/i)
249 0 0 if (/birth_place/i)
283 0 0 unless (defined $$self{'_photo'})
287 0 0 if ($$tag[1]{'alt'} and $$tag[1]{'alt'} eq $self->name . ' Picture')
293 0 0 unless $$self{'_photo'}
324 0 0 if (not $$self{'_filmography'}) { }
329 0 0 if $text and $text =~ /filmography/i
335 0 0 if $$tag[0] eq 'script'
337 0 0 if ($$tag[0] eq 'h5')
340 0 0 if $caption
346 0 0 if ($$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[title\/tt(\d+)])
382 0 0 unless ($$self{'_genres'})
401 0 0 unless ($$self{'_plot_keywords'})
416 0 0 if $text =~ /$target/i
421 0 0 if $$tag[1]{'class'} and $$tag[1]{'class'} =~ /tn15more/i