line |
true |
false |
branch |
22
|
0 |
101 |
ref $proto ? : |
36
|
66 |
313 |
unless (exists $$self{'__query'}) |
41
|
5 |
374 |
if @_ |
50
|
4 |
68 |
if (@_) |
61
|
58 |
119 |
unless (exists $$self{'__resourceHooks'}) |
69
|
59 |
118 |
if (@_ and @_ % 2 == 0) { } |
|
2 |
116 |
elsif (@_ == 1) { } |
73
|
0 |
2 |
if (ref $value ne 'HASH') |
86
|
47 |
18 |
unless (exists $$self{'__extraHandlerArgs'}) |
92
|
7 |
58 |
if (@_) |
93
|
1 |
6 |
if (@_ == 1 and ref $_[0] eq 'ARRAY') { } |
128
|
8 |
67 |
if $real_method eq 'POST' |
131
|
17 |
50 |
if ($real_method eq 'GET' and $tunnel_method =~ /^(GET|HEAD)$/) |
153
|
27 |
3 |
if ($self->checkMatch($path, $pathRegex)) |
171
|
2 |
27 |
if $$self{'__handlerIsOurMethod'} |
187
|
0 |
58 |
if $@ |
190
|
0 |
58 |
ref $result eq 'scalar' ? : |
204
|
49 |
19 |
if ($a =~ /$b/) |
237
|
0 |
19 |
unless $ENV{'REST_APP_RETURN_ONLY'} |
247
|
21 |
2 |
if ($type eq 'header') { } |
|
2 |
0 |
elsif ($type eq 'redirect') { } |
|
0 |
0 |
elsif ($type ne 'none') { } |
263
|
0 |
23 |
if ref $outputRef ne 'SCALAR' |
264
|
0 |
23 |
unless defined $$outputRef |
268
|
21 |
2 |
if (ref $repr eq 'SCALAR') { } |
269
|
17 |
4 |
if defined $$repr |
271
|
2 |
0 |
if defined $repr |
279
|
27 |
12 |
unless (exists $$self{'__headerType'}) |
284
|
10 |
29 |
if (@_) |
286
|
8 |
2 |
if ($type =~ /^(redirect|header|none)$/) { } |
300
|
27 |
14 |
unless (exists $$self{'__header'}) |
306
|
10 |
31 |
if (@_) |
307
|
10 |
0 |
if (@_ % 2 == 0) { } |
|
0 |
0 |
elsif (ref $_[0] eq 'HASH') { } |
363
|
15 |
37 |
if ($refType eq 'HASH') |
366
|
14 |
1 |
if (exists $$ref{$http_method}) { } |
|
1 |
0 |
elsif (exists $$ref{'*'}) { } |
377
|
6 |
46 |
if ($refType eq 'HASH') |
384
|
36 |
16 |
if ($refType eq 'CODE') { } |
|
6 |
10 |
elsif ($refType eq 'ARRAY') { } |
|
2 |
8 |
elsif ($refType) { } |
|
4 |
4 |
elsif ($ref) { } |
391
|
5 |
1 |
if (ref $thing) { } |
437
|
26 |
160 |
if $type eq $accept_type |
441
|
10 |
150 |
if $type =~ /$pat/ |
462
|
0 |
42 |
unless $name |
464
|
18 |
24 |
if (defined $weight) { } |
473
|
0 |
72 |
unless $$b{'score'} <=> $$a{'score'} |