line |
true |
false |
branch |
186
|
0 |
0 |
unless $args{'crit'} or $args{'file'} |
192
|
0 |
0 |
unless ($self->title) |
198
|
0 |
0 |
if /^_/ |
289
|
0 |
0 |
if (@_) |
358
|
0 |
0 |
if ($forced) |
363
|
0 |
0 |
if ($title =~ /Find \- IMDb/i) |
368
|
0 |
0 |
if ($title) |
369
|
0 |
0 |
unless $self->code |
378
|
0 |
0 |
unless ($$self{'_title'}) |
381
|
0 |
0 |
unless $$self{'_kind'} |
385
|
0 |
0 |
if ($$self{'_title'} =~ /\"[^\"]+\"(\s+.+\s+)?/) |
386
|
0 |
0 |
$1 ? : |
406
|
0 |
0 |
exists $IMDB::Film::FILM_KIND{$$self{'_kind'}} ? : |
442
|
0 |
0 |
unless ($$self{'_connections'}) |
444
|
0 |
0 |
if $self->_cache |
446
|
0 |
0 |
unless ($page) |
451
|
0 |
0 |
if $self->_cache |
460
|
0 |
0 |
if ($$tag[0] eq 'h4') { } |
|
0 |
0 |
elsif ($$tag[0] eq 'a') { } |
470
|
0 |
0 |
if $$tag[1]{'href'} |
475
|
0 |
0 |
if defined $series |
480
|
0 |
0 |
if (defined $t) |
486
|
0 |
0 |
if $next =~ /\((\d{4})\)/ |
487
|
0 |
0 |
if $next =~ /\(VG\)/ |
520
|
0 |
0 |
unless ($$self{'_full_companies'}) |
522
|
0 |
0 |
if $self->_cache |
524
|
0 |
0 |
unless ($page) |
529
|
0 |
0 |
if $self->_cache |
537
|
0 |
0 |
if ($$tag[0] eq 'h2') { } |
|
0 |
0 |
elsif ($$tag[0] eq 'a') { } |
583
|
0 |
0 |
unless ($$self{'_company'}) |
588
|
0 |
0 |
wantarray ? : |
603
|
0 |
0 |
unless $self->kind and $self->kind =~ /tv serie/i |
605
|
0 |
0 |
unless ($$self{'_episodes'}) |
607
|
0 |
0 |
if $self->_cache |
609
|
0 |
0 |
unless ($page) |
614
|
0 |
0 |
if $self->_cache |
621
|
0 |
0 |
unless ($season, $episode) = $parser->get_text =~ /Season\s+(.*?),\s+Episode\s+([^:]+)/ |
623
|
0 |
0 |
if $$imdb_tag[1]{'href'} |
657
|
0 |
0 |
if not $self->kind or $self->kind ne 'episode' |
659
|
0 |
0 |
if ($forced) |
664
|
0 |
0 |
if $parser->get_text =~ /^TV Series/i |
668
|
0 |
0 |
if $parser->get_text =~ /(.*?)\s+\(([\d\?]{4}).*?\)/ |
669
|
0 |
0 |
unless $$tag[1]{'href'} =~ /title/i |
676
|
0 |
0 |
if $parser->get_text =~ /^Original Air Date/i |
700
|
0 |
0 |
if ($forced) |
708
|
0 |
0 |
if $$img_tag[1]{'alt'} =~ /^poster not submitted/i |
710
|
0 |
0 |
if ($$img_tag[1]{'alt'} =~ /Poster$/) |
724
|
0 |
0 |
if ($forced or not $$self{'_top_info'}) |
727
|
0 |
0 |
if $$tag[1]{'class'} and $$tag[1]{'class'} eq 'article highlighted' |
760
|
0 |
0 |
if ($forced) |
765
|
0 |
0 |
if $text =~ /recommendations/i |
770
|
0 |
0 |
if $$tag[0] eq '/table' |
773
|
0 |
0 |
if ($$tag[0] eq 'a' and $text and $$tag[1]{'href'} =~ /tt(\d+)/) |
797
|
0 |
0 |
if ($forced) |
803
|
0 |
0 |
if $text =~ /direct(?:ed|or)/i |
809
|
0 |
0 |
if $text =~ /^writ(?:ing|ers)/i or $$tag[0] eq '/div' |
811
|
0 |
0 |
if ($$tag[0] eq 'a' and $$tag[1]{'href'} and not $text =~ /(img|more)/i) |
839
|
0 |
0 |
if ($forced) |
844
|
0 |
0 |
if $parser->get_text =~ /writ(?:ing|ers|er)/i |
849
|
0 |
0 |
if $$tag[0] eq '/div' |
851
|
0 |
0 |
if ($$tag[0] eq 'a' and $$tag[1]{'href'} and not $text =~ /more/i and not $text =~ /img/i) |
852
|
0 |
0 |
if (my($id) = $$tag[1]{'href'} =~ /nm(\d+)/) |
876
|
0 |
0 |
if ($forced) |
881
|
0 |
0 |
if $parser->get_text =~ /^genre/i |
886
|
0 |
0 |
unless $$tag[1]{'href'} =~ m[/genre/]i |
887
|
0 |
0 |
if $genre =~ /more/i |
909
|
0 |
0 |
if ($forced) |
913
|
0 |
0 |
if $parser->get_text =~ /tagline/i |
948
|
0 |
0 |
if ($forced) |
952
|
0 |
0 |
if $parser->get_text =~ /^storyline$/i |
982
|
0 |
0 |
if ($forced) |
986
|
0 |
0 |
if $$tag[1]{'class'} and $$tag[1]{'class'} eq 'star-box-details' |
992
|
0 |
0 |
if $val |
996
|
0 |
0 |
unless ($$self{'_plot'}) |
1003
|
0 |
0 |
wantarray ? : |
1023
|
0 |
0 |
if ($forced) |
1028
|
0 |
0 |
if $$tag[1]{'class'} and $$tag[1]{'class'} =~ /^cast_list$/i |
1031
|
0 |
0 |
if $$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ /fullcredits/i |
1032
|
0 |
0 |
if ($$tag[0] eq 'td' and $$tag[1]{'class'} and $$tag[1]{'class'} eq 'name') |
1034
|
0 |
0 |
if ($$tag[1]{'href'} and $$tag[1]{'href'} =~ m[name/nm(\d+?)/]) |
1066
|
0 |
0 |
if ($forced) |
1071
|
0 |
0 |
if $text =~ /runtime:/i |
1079
|
0 |
0 |
wantarray ? : |
1094
|
0 |
0 |
if ($forced) |
1097
|
0 |
0 |
if $parser->get_text =~ /country/i |
1103
|
0 |
0 |
if ($$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[/country/[a-z]{2}]i) |
1109
|
0 |
0 |
if $$tag[0] eq 'br' |
1130
|
0 |
0 |
if ($forced) |
1134
|
0 |
0 |
if $parser->get_text =~ /language/i |
1138
|
0 |
0 |
if ($$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[/language/[a-z]{2}]i) |
1144
|
0 |
0 |
if $$tag[0] eq '/div' |
1166
|
0 |
0 |
unless ($$self{'_also_known_as'}) |
1172
|
0 |
0 |
if $text =~ /^(aka|also known as)/i |
1196
|
0 |
0 |
unless $$self{'_trivia'} |
1211
|
0 |
0 |
unless $$self{'_goofs'} |
1239
|
0 |
0 |
unless ($$self{'_mpaa_info'}) |
1245
|
0 |
0 |
if $text =~ /^Motion Picture Rating/i |
1267
|
0 |
0 |
unless $$self{'_aspect_ratio'} |
1284
|
0 |
0 |
if ($forced) |
1290
|
0 |
0 |
if $text =~ /^summary/i |
1314
|
0 |
0 |
if ($forced) |
1317
|
0 |
0 |
if $parser->get_text =~ /certification/i |
1322
|
0 |
0 |
if ($$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ /certificates/i) |
1329
|
0 |
0 |
if $$tag[0] eq '/td' |
1354
|
0 |
0 |
unless ($$self{'_full_plot'}) |
1356
|
0 |
0 |
if $self->_cache |
1357
|
0 |
0 |
unless ($page) |
1363
|
0 |
0 |
unless ($page) |
1367
|
0 |
0 |
if $self->_cache |
1374
|
0 |
0 |
if (defined $$tag[1]{'class'} and $$tag[1]{'class'} =~ /plotpar/i) |
1389
|
0 |
0 |
unless ($$self{'_big_cover_url'}) |
1390
|
0 |
0 |
unless ($$self{'_big_cover_page'}) |
1395
|
0 |
0 |
if ($$tag[1]{'href'} =~ /$regexp/) |
1401
|
0 |
0 |
if ($$self{'_big_cover_page'}) |
1403
|
0 |
0 |
unless $page |
1407
|
0 |
0 |
if ($$tag[1]{'id'} and $$tag[1]{'id'} eq 'primary-img') |
1433
|
0 |
0 |
unless ($$self{'_official_sites'}) |
1435
|
0 |
0 |
if $self->_cache |
1437
|
0 |
0 |
unless ($page) |
1443
|
0 |
0 |
if $self->_cache |
1449
|
0 |
0 |
if $$tag[0] eq 'ol' |
1454
|
0 |
0 |
if ($$tag[0] eq 'a' and not $$tag[1]{'href'} =~ /sections/i) |
1458
|
0 |
0 |
if $$tag[0] eq '/ol' or $$tag[0] eq 'hr' |
1481
|
0 |
0 |
unless ($$self{'_release_dates'}) |
1483
|
0 |
0 |
if $self->_cache |
1485
|
0 |
0 |
unless ($page) |
1490
|
0 |
0 |
if $self->_cache |
1496
|
0 |
0 |
if $$tag[1]{'class'} and $$tag[1]{'class'} eq 'xxxx' |
1505
|
0 |
0 |
if $$tag[0] eq '/table' |
1506
|
0 |
0 |
unless $$tag[0] eq 'td' |
1511
|
0 |
0 |
if (++$count > 2) |
1536
|
0 |
0 |
unless ($$self{'_plot_keywords'}) |
1538
|
0 |
0 |
if $self->_cache |
1540
|
0 |
0 |
unless ($page) |
1545
|
0 |
0 |
if $self->_cache |
1555
|
0 |
0 |
if $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[/keyword/] |