Condition Coverage

blib/lib/IMDB/Film.pm
Criterion Covered Total %
condition 0 136 0.0


and 3 conditions

line !l l&&!r l&&r condition
603 0 0 0 $self->kind and $self->kind =~ /tv serie/i
727 0 0 0 $$tag[1]{'class'} and $$tag[1]{'class'} eq 'article highlighted'
773 0 0 0 $$tag[0] eq 'a' and $text
0 0 0 $$tag[0] eq 'a' and $text and $$tag[1]{'href'} =~ /tt(\d+)/
811 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'}
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and not $text =~ /(img|more)/i
851 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'}
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and not $text =~ /more/i
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and not $text =~ /more/i and not $text =~ /img/i
986 0 0 0 $$tag[1]{'class'} and $$tag[1]{'class'} eq 'star-box-details'
1028 0 0 0 $$tag[1]{'class'} and $$tag[1]{'class'} =~ /^cast_list$/i
1031 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'}
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ /fullcredits/i
1032 0 0 0 $$tag[0] eq 'td' and $$tag[1]{'class'}
0 0 0 $$tag[0] eq 'td' and $$tag[1]{'class'} and $$tag[1]{'class'} eq 'name'
1034 0 0 0 $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[name/nm(\d+?)/]
1103 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'}
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[/country/[a-z]{2}]i
1138 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'}
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[/language/[a-z]{2}]i
1322 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'}
0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} and $$tag[1]{'href'} =~ /certificates/i
1374 0 0 0 defined $$tag[1]{'class'} and $$tag[1]{'class'} =~ /plotpar/i
1407 0 0 0 $$tag[1]{'id'} and $$tag[1]{'id'} eq 'primary-img'
1454 0 0 0 $$tag[0] eq 'a' and not $$tag[1]{'href'} =~ /sections/i
1496 0 0 0 $$tag[1]{'class'} and $$tag[1]{'class'} eq 'xxxx'
1555 0 0 0 $$tag[1]{'href'} and $$tag[1]{'href'} =~ m[/keyword/]

or 2 conditions

line l !l condition
312 0 0 shift() || {}
355 0 0 shift() || 0
356 0 0 shift() || {}
655 0 0 shift() || 0
698 0 0 shift() || 0
706 0 0 $$img_tag[1]{'alt'} ||= ''
723 0 0 shift() || 0
758 0 0 shift() || 0
795 0 0 shift() || 0
837 0 0 shift() || 0
874 0 0 shift() || 0
907 0 0 shift() || 0
946 0 0 shift() || 0
980 0 0 shift() || 0
1021 0 0 shift() || 0
1064 0 0 shift() || 0
1092 0 0 shift() || 0
1128 0 0 shift() || 0
1282 0 0 shift() || 0
1311 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
186 0 0 0 $args{'crit'} or $args{'file'}
657 0 0 0 not $self->kind or $self->kind ne 'episode'
724 0 0 0 $forced or not $$self{'_top_info'}
809 0 0 0 $text =~ /^writ(?:ing|ers)/i or $$tag[0] eq '/div'
1458 0 0 0 $$tag[0] eq '/ol' or $$tag[0] eq 'hr'