line |
true |
false |
branch |
30
|
0 |
44 |
if ref $pkg |
32
|
6 |
38 |
if (delete $args{'private'}) |
34
|
41 |
0 |
unless ($key =~ /^_/) |
72
|
0 |
3 |
if ($j->request->env->{'PATH_INFO'} =~ /favicon.ico$/) |
73
|
0 |
0 |
unless -f $j->_favicon |
81
|
0 |
3 |
if ($content_type and $content_type =~ m[application/json]) { } |
84
|
0 |
3 |
unless $j->request->parameters |
87
|
0 |
3 |
unless ((&reftype(scalar $j->params) || '') eq "HASH") |
94
|
0 |
3 |
unless ($j->sid) |
108
|
0 |
3 |
$j->is_logout ? : |
116
|
3 |
0 |
if $req |
117
|
0 |
3 |
if $j->{'_application'}->can("preprocess_req") |
118
|
0 |
3 |
if (not $req && $session or $PRIVATE{$req}) |
127
|
3 |
0 |
unless $j->sid->expires |
137
|
1 |
2 |
if $j->response->error |
139
|
0 |
2 |
if $j->is_login or $j->is_logout |
141
|
1 |
1 |
if $j->response->authenticated |
143
|
1 |
0 |
unless ($j->response->authenticated and $j->session or ($j->is_login or $j->is_logout)) |
153
|
0 |
0 |
$new ? : |
159
|
0 |
0 |
$env->{'psgix.logger'} ? : |
166
|
1 |
3 |
if $logger |
173
|
3 |
1 |
$self->{'_application'} ? : |
175
|
2 |
2 |
unless ref $message |
177
|
2 |
2 |
if $self->{'_application'} and $self->{'_application'}->can("_logError") |
181
|
1 |
1 |
ref $self->{'_logger'} eq 'CODE' ? : |
|
2 |
2 |
if $self->{'_logger'} |
182
|
2 |
2 |
if $no_response |
188
|
8 |
0 |
unless ref $message |
190
|
6 |
2 |
if $self->{'_application'} and $self->{'_application'}->can("_logInfo") |
194
|
2 |
2 |
ref $self->{'_logger'} eq 'CODE' ? : |
|
4 |
4 |
if $self->{'_logger'} |
200
|
0 |
6 |
if $self->{'_application'} |
202
|
0 |
6 |
if ((&reftype($message) || '') eq 'ARRAY') { } |
207
|
6 |
0 |
if $code and not $self->{'status_code'} |
214
|
1 |
4 |
unless ($json =~ /[\{\[]/) |
223
|
1 |
3 |
if $@ |
236
|
0 |
6 |
if $@ and $die |
243
|
0 |
3 |
unless ($t->{'_application'}) |
251
|
0 |
0 |
unless $response |
261
|
0 |
0 |
unless (ref $websocket) |
270
|
3 |
0 |
unless $t->{'websocket'} or not $t->{'_websocket_class'} |
279
|
0 |
0 |
if $self->{'_application_has_delayed_response_handler'} |
286
|
0 |
0 |
if ($@ or $self->response->error) { } |
|
0 |
0 |
elsif ($response) { } |
288
|
0 |
0 |
if $@ |
298
|
3 |
0 |
unless $t->{'delayed_response'} |
300
|
0 |
3 |
if $t->{'_application'}->can("build_terse") |
308
|
0 |
3 |
if $self->cookies |
309
|
3 |
0 |
if $self->headers |
310
|
1 |
2 |
if $sid |
313
|
3 |
0 |
unless $t->{'_build_response'} |
316
|
0 |
1 |
if $_[1] |
318
|
3 |
0 |
unless $t->{'content_type'} |
322
|
0 |
3 |
if $self->{'_application_has_response_handler'} |
325
|
0 |
3 |
if $res |
329
|
3 |
0 |
unless $t->{'_response'} |
335
|
0 |
7 |
$self->{'_application_has_dispatcher'} ? : |
336
|
1 |
6 |
unless ($self->{'_application'}->can($method)) |
342
|
0 |
7 |
if ($@) |
347
|
3 |
0 |
unless $t->{'_dispatch'} |
355
|
22 |
20 |
unless $refnode eq "HASH" or $refnode eq "ARRAY" |
356
|
18 |
2 |
if ($refnode eq "HASH") |
357
|
0 |
18 |
$node->{'_inherit'} ? : |
360
|
2 |
18 |
if ($refnode eq "ARRAY") |
370
|
0 |
0 |
unless $ref and $ref =~ /ARRAY|HASH/ |
371
|
0 |
0 |
if $ref eq "ARRAY" |
372
|
0 |
0 |
if $self->{'_application'} |
377
|
0 |
0 |
if $_ =~ /^_/ and $nodebug |
378
|
0 |
0 |
if $skip |
386
|
47 |
2 |
&reftype($self) eq 'HASH' ? : |
394
|
0 |
178 |
unless $key |
395
|
54 |
124 |
Want::want('REF OBJECT') ? : |
397
|
17 |
161 |
if ref $retval eq "CODE" |
398
|
0 |
161 |
if scalar @_ > 2 |
400
|
7 |
154 |
if $isBool |
402
|
17 |
137 |
if ref $_[0]{$key} eq "HASH" or ref $_[0]{$key} eq "ARRAY" |