Condition Coverage

blib/lib/WWW/Yahoo/Movies.pm
Criterion Covered Total %
condition 5 29 17.2


and 3 conditions

line !l l&&!r l&&r condition
100 3 2 0 not $self->id =~ /^\d+$/ and $self->_search
102 2 0 3 $self->id =~ /^\d+$/ && length $self->id > 4
106 0 0 0 $self->id =~ /^\d+$/ and length $self->id > 4
133 0 0 0 $$tag[0] eq 'a' and $$tag[1]{'href'} =~ m[/(\d+)/info]
202 0 0 0 $_[0] and ref $_[0] eq 'ARRAY'
279 0 0 0 $$tag[1]{'alt'} and $$tag[1]{'alt'} =~ /^$$self{'title'}/i
332 0 0 0 $$tag[0] eq 'C' and $$tag[1] =~ /cast and credits/
345 0 0 0 $$tag[0] eq 'S' and $$tag[1] eq 'a'
346 0 0 0 $$tag[2]{'href'} =~ m[movie/contributor/(\d+)] and $key

or 2 conditions

line l !l condition
104 0 5 get $url || die("Cannot connect to the Yahoo: $!!")