line |
true |
false |
branch |
69
|
1 |
4 |
unless defined $key |
123
|
0 |
0 |
if exists $$param{'query'} |
124
|
0 |
0 |
if exists $$param{'critics-pick'} |
125
|
0 |
0 |
if exists $$param{'thausand-best'} |
126
|
0 |
0 |
if exists $$param{'dvd'} |
127
|
0 |
0 |
if exists $$param{'reviewer'} |
128
|
0 |
0 |
if exists $$param{'publication-date'} |
129
|
0 |
0 |
if exists $$param{'opening-date'} |
130
|
0 |
0 |
if exists $$param{'offset'} |
131
|
0 |
0 |
if exists $$param{'order'} |
134
|
0 |
0 |
unless $response->is_success |
174
|
0 |
0 |
if exists $$param{'offset'} |
175
|
0 |
0 |
if exists $$param{'order'} |
178
|
0 |
0 |
unless $response->is_success |
221
|
0 |
0 |
if exists $$param{'critics-pick'} |
222
|
0 |
0 |
if exists $$param{'offset'} |
223
|
0 |
0 |
if exists $$param{'order'} |
226
|
0 |
0 |
unless $response->is_success |
264
|
0 |
0 |
unless $response->is_success |
273
|
1 |
12 |
unless defined $param |
275
|
1 |
11 |
if ref $param ne 'HASH' |
277
|
1 |
10 |
unless exists $$param{'query'} |
279
|
1 |
9 |
if defined $$param{'reviewer'} and not $$param{'reviewer'} =~ /\b[a-z\.\-]+\b/i |
294
|
1 |
5 |
unless defined $param |
296
|
1 |
4 |
if ref $param ne 'HASH' |
298
|
1 |
3 |
unless exists $$param{'resource-type'} |
300
|
1 |
2 |
unless $$param{'resource-type'} =~ /\ball\b|\bpicks\b|\bdvd\-picks\b/i |
310
|
1 |
6 |
unless defined $param |
312
|
1 |
5 |
if ref $param ne 'HASH' |
314
|
1 |
4 |
unless exists $$param{'reviewer-name'} |
316
|
1 |
3 |
unless $$param{'reviewer-name'} =~ /\b[a-z\.\-]+\b/i |
328
|
6 |
4 |
unless defined $value |
331
|
2 |
2 |
$value =~ /\;/ ? : |
339
|
4 |
2 |
if defined $_ and not $_ =~ /^\d{4}\-\d{2}\-\d{2}$/ |
348
|
23 |
4 |
unless defined $value |
350
|
4 |
0 |
if defined $value and not $value =~ /^[y|n]$/i |
357
|
3 |
3 |
unless defined $offset |
359
|
3 |
0 |
unless defined $offset and $offset =~ /^\d{1,}$/ and $offset == 0 || $offset % 20 == 0 |
370
|
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 |
379
|
1 |
1 |
unless defined $type |
381
|
1 |
0 |
unless $type =~ /\ball\b|\bfull\-time\b|\bpart\-time\b|\breviewer\b|[a..z\.\-]+/i |