line |
true |
false |
branch |
28
|
4 |
3 |
if $_ eq 'config'
|
49
|
3 |
13 |
$arguments->{'code_wrapper'} ? :
|
54
|
2 |
12 |
if (request()->content_type ne 'application/json')
|
67
|
1 |
12 |
unless (exists $dispatcher->{$method_name})
|
83
|
7 |
5 |
$callback ? :
|
88
|
1 |
11 |
if (my $error = $@)
|
101
|
1 |
10 |
if (not &blessed($continue) && $continue->isa('Dancer::RPCPlugin::CallbackResult')) { }
|
|
1 |
9 |
elsif (&blessed($continue) and not $continue->success) { }
|
132
|
2 |
7 |
if ($error)
|
142
|
1 |
6 |
if (&blessed($result) and $result->can('as_jsonrpc_error')) { }
|
|
1 |
5 |
elsif (&blessed($result)) { }
|
157
|
11 |
1 |
if (@responses == 1) { }
|
176
|
11 |
1 |
if (ref $unjson ne 'ARRAY') { }
|