| line |
true |
false |
branch |
|
46
|
0 |
0 |
unless Net::DRI::Util::xml_is_string($domain, 1, 32) |
|
50
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'language')) |
|
52
|
0 |
0 |
unless Net::DRI::Util::xml_is_language($rd->{'language'}) |
|
57
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'filter_id')) { } |
|
59
|
0 |
0 |
unless $rd->{'filter_id'} =~ /^\d+$/ |
|
66
|
0 |
0 |
if Net::DRI::Util::has_key($rd, $k) and Net::DRI::Util::xml_is_boolean($rd->{$k}) |
|
68
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'view')) |
|
70
|
0 |
0 |
unless $rd->{'view'} =~ /^(?:table|grid)$/ |
|
73
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'forsale')) |
|
75
|
0 |
0 |
unless $rd->{'forsale'} =~ /^(?:off|low|medium|high)$/ |
|
78
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'maxlength')) |
|
80
|
0 |
0 |
unless Net::DRI::Util::verify_int($rd->{'maxlength'}, 1, 63) |
|
83
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'maxresults')) |
|
85
|
0 |
0 |
unless Net::DRI::Util::verify_int($rd->{'maxresults'}, 1, 100) |
|
89
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'action') and ref $rd->{'action'} eq 'HASH') |
|
94
|
0 |
0 |
unless defined $weight and $weight =~ /^(?:off|low|medium|high)$/ |
|
98
|
0 |
0 |
if (Net::DRI::Util::has_key($rd, 'tld')) |
|
100
|
0 |
0 |
ref $rd->{'tld'} eq 'ARRAY' ? : |
|
102
|
0 |
0 |
defined $tld ? : |
|
|
0 |
0 |
unless defined $tld and $tld =~ /^[a-zA-Z]{2,6}$/ |
|
107
|
0 |
0 |
if %f or @f |
|
110
|
0 |
0 |
if @f |
|
122
|
0 |
0 |
unless $mes->is_success |
|
125
|
0 |
0 |
unless defined $infdata |
|
132
|
0 |
0 |
if ($n eq 'key') { } |
|
|
0 |
0 |
elsif ($n eq 'language') { } |
|
|
0 |
0 |
elsif ($n eq 'token') { } |
|
|
0 |
0 |
elsif ($n eq 'answer') { } |
|
146
|
0 |
0 |
if (defined $ans) |
|
152
|
0 |
0 |
if (defined $ans) |
|
176
|
0 |
0 |
unless defined $v |
|
197
|
0 |
0 |
unless defined $v |