line |
true |
false |
branch |
68
|
4 |
12 |
unless defined $num and $num =~ /^\d+$/ |
74
|
0 |
1 |
if defined $str and $str =~ /^\d+$/ |
80
|
1 |
0 |
if (defined $str and $str =~ /\,/) |
82
|
0 |
0 |
if (defined $lon_min and $lon_min =~ /\-?\d+\.?\d+$/ and (defined $lat_min and $lat_min =~ /\-?\d+\.?\d+$/) and (defined $lon_max and $lon_max =~ /\-?\d+\.?\d+$/) and (defined $lat_max and $lat_max =~ /\-?\d+\.?\d+$/)) |
121
|
1 |
5 |
unless defined $values |
123
|
1 |
4 |
unless ref $values eq 'HASH' |
127
|
0 |
5 |
unless exists $WebService::Wikimapia::Params::FIELDS->{$field} |
130
|
2 |
3 |
if $fields->{$field} and not exists $values->{$field} |
133
|
1 |
2 |
if $fields->{$field} and not defined $values->{$field} |
136
|
2 |
0 |
if defined $values->{$field} |