Branch Coverage

blib/lib/Dancer2/Plugin/RPC/XMLRPC.pm
Criterion Covered Total %
branch 4 22 18.1


line true false branch
45 2 6 $config->{'code_wrapper'} ? :
51 4 6 if ($dsl->app->request->content_type ne 'text/xml')
62 0 0 unless (exists $dispatcher->{$method_name})
71 0 0 $callback ? :
76 0 0 if (my $error = $@)
83 0 0 if (not &blessed($continue) && $continue->isa('Dancer2::RPCPlugin::CallbackResult')) { }
0 0 elsif (&blessed($continue) and not $continue->success) { }
105 0 0 if (my $error = $@)
111 0 0 if (&blessed($response) and $response->can('as_xmlrpc_fault')) { }
0 0 elsif (&blessed($response)) { }
136 0 0 if (ref $data eq 'HASH' and exists $data->{'faultCode'}) { }