Condition Coverage

blib/lib/WWW/MapBlast.pm
Criterion Covered Total %
condition 0 37 0.0


and 2 conditions

line l !l condition
128 0 0 warn "No code for country <$country>." and return undef
142 0 0 die "...could not GET.\n" and return undef

and 3 conditions

line !l l&&!r l&&r condition
127 0 0 0 defined $country and defined $postcode
168 0 0 0 @$token[1] eq 'input' and defined @$token[2]
0 0 0 @$token[1] eq 'input' and defined @$token[2] and exists %{@$token[2];}->{'name'}
0 0 0 @$token[1] eq 'input' and defined @$token[2] and exists %{@$token[2];}->{'name'} and exists %{@$token[2];}->{'value'}
0 0 0 @$token[1] eq 'input' and defined @$token[2] and exists %{@$token[2];}->{'name'} and exists %{@$token[2];}->{'value'} and %{@$token[2];}->{'name'} =~ /^GAD\d$/
0 0 0 @$token[1] eq 'input' and defined @$token[2] and exists %{@$token[2];}->{'name'} and exists %{@$token[2];}->{'value'} and %{@$token[2];}->{'name'} =~ /^GAD\d$/ and not %{@$token[2];}->{'value'} =~ /^\s*$/
176 0 0 0 defined $address and not $address =~ /$_/i
183 0 0 0 not defined $address and $doc =~ /Address not found/i
187 0 0 0 @$token[1] eq 'img' && %{@$token[2];}->{'src'} eq '/myblast/images/topnav/mapsiloon.gif'
0 0 0 $token = $p->get_token and not @$token[1] eq 'img' && %{@$token[2];}->{'src'} eq '/myblast/images/topnav/mapsiloon.gif'
190 0 0 0 $token = $p->get_token and @$token[1] ne 'a'