| line |
true |
false |
branch |
|
66
|
1 |
4 |
unless defined $key |
|
117
|
0 |
0 |
if exists $$param{'query'} |
|
118
|
0 |
0 |
if exists $$param{'critics-pick'} |
|
119
|
0 |
0 |
if exists $$param{'thausand-best'} |
|
120
|
0 |
0 |
if exists $$param{'dvd'} |
|
121
|
0 |
0 |
if exists $$param{'reviewer'} |
|
122
|
0 |
0 |
if exists $$param{'publication-date'} |
|
123
|
0 |
0 |
if exists $$param{'opening-date'} |
|
124
|
0 |
0 |
if exists $$param{'offset'} |
|
125
|
0 |
0 |
if exists $$param{'order'} |
|
129
|
0 |
0 |
unless $response->is_success |
|
166
|
0 |
0 |
if exists $$param{'offset'} |
|
167
|
0 |
0 |
if exists $$param{'order'} |
|
171
|
0 |
0 |
unless $response->is_success |
|
211
|
0 |
0 |
if exists $$param{'critics-pick'} |
|
212
|
0 |
0 |
if exists $$param{'offset'} |
|
213
|
0 |
0 |
if exists $$param{'order'} |
|
217
|
0 |
0 |
unless $response->is_success |
|
253
|
0 |
0 |
unless $response->is_success |
|
261
|
1 |
12 |
unless defined $param |
|
262
|
1 |
11 |
if ref $param ne 'HASH' |
|
263
|
1 |
10 |
unless exists $$param{'query'} |
|
264
|
1 |
9 |
if defined $$param{'reviewer'} and not $$param{'reviewer'} =~ /\b[a-z\.\-]+\b/i |
|
279
|
1 |
5 |
unless defined $param |
|
280
|
1 |
4 |
if ref $param ne 'HASH' |
|
281
|
1 |
3 |
unless exists $$param{'resource-type'} |
|
282
|
1 |
2 |
unless $$param{'resource-type'} =~ /\ball\b|\bpicks\b|\bdvd\-picks\b/i |
|
292
|
1 |
6 |
unless defined $param |
|
293
|
1 |
5 |
if ref $param ne 'HASH' |
|
294
|
1 |
4 |
unless exists $$param{'reviewer-name'} |
|
295
|
1 |
3 |
unless $$param{'reviewer-name'} =~ /\b[a-z\.\-]+\b/i |
|
306
|
6 |
4 |
unless defined $value |
|
309
|
2 |
2 |
$value =~ /\;/ ? : |
|
316
|
4 |
2 |
if defined $_ and not $_ =~ /^\d{4}\-\d{2}\-\d{2}$/ |
|
324
|
23 |
4 |
unless defined $value |
|
326
|
4 |
0 |
if defined $value and not $value =~ /^[y|n]$/i |
|
332
|
3 |
3 |
unless defined $offset |
|
334
|
3 |
0 |
unless defined $offset and $offset =~ /^\d{1,}$/ and $offset == 0 || $offset % 20 == 0 |
|
345
|
3 |
0 |
if defined $order and not $order =~ /\bby\-title\b|\bby\-publication\-date\b|\bby\-opening\-date\b|\bby\-dvd\-release\-date\b/i |
|
354
|
1 |
1 |
unless defined $type |
|
355
|
1 |
0 |
unless $type =~ /\ball\b|\bfull\-time\b|\bpart\-time\b|\breviewer\b|[a..z\.\-]+/i |