line |
true |
false |
branch |
30
|
1 |
3 |
if $_ eq 'config'
|
51
|
3 |
10 |
$arguments->{'code_wrapper'} ? :
|
56
|
1 |
10 |
if (request()->content_type ne 'application/json')
|
63
|
0 |
10 |
unless (exists $dispatcher->{$method_name})
|
70
|
0 |
10 |
request()->body ? :
|
74
|
6 |
4 |
$callback ? :
|
79
|
1 |
9 |
if (my $error = $@) { }
|
|
1 |
8 |
elsif (not &blessed($continue) && $continue->isa('Dancer::RPCPlugin::CallbackResult')) { }
|
|
1 |
7 |
elsif (&blessed($continue) and not $continue->success) { }
|
107
|
2 |
5 |
if (my $error = $@)
|
113
|
1 |
6 |
if (&blessed($response) and $response->can('as_restrpc_error')) { }
|
|
1 |
5 |
elsif (&blessed($response)) { }
|
120
|
0 |
10 |
unless ref $response
|