Branch Coverage

blib/lib/Dancer/Plugin/RPC/XMLRPC.pm
Criterion Covered Total %
branch 4 26 15.3


line true false branch
30 7 6 if $_ eq 'config'
51 0 14 $arguments->{'code_wrapper'} ? :
56 0 3 if (request()->content_type ne 'text/xml')
67 0 0 unless (exists $dispatcher->{$method_name})
76 0 0 $callback ? :
81 0 0 if (my $error = $@)
88 0 0 if (not &blessed($continue) && $continue->isa('Dancer::RPCPlugin::CallbackResult')) { }
0 0 elsif (&blessed($continue) and not $continue->success) { }
110 0 0 if (my $error = $@)
116 0 0 if (&blessed($response) and $response->can('as_xmlrpc_fault')) { }
0 0 elsif (&blessed($response)) { }
134 0 0 if (ref $data eq 'HASH' and exists $data->{'faultCode'}) { }
0 0 elsif (grep /^faultCode$/, grep(defined($_), @_)) { }