Branch Coverage

lib/Catalyst/Plugin/Server/XMLRPC.pm
Criterion Covered Total %
branch 45 66 68.2


line true false branch
293 19 2 if ($c->req->path =~ /$path/) { }
299 0 19 if $Debug
301 2 17 unless $c->req->xmlrpc->_deserialize_xml($c)
317 85 17 unless UNIVERSAL::isa($_, $dp_ns . 'XMLRPCPath')
341 4 13 if (not $c->action and not $c->server->xmlrpc->private_methods->{$c->req->xmlrpc->method})
355 19 0 if $c->server->xmlrpc->config->convert_params
371 6 15 if ($c->req->xmlrpc->is_xmlrpc_request and scalar @{$c->error;}) { }
0 15 elsif ($c->req->xmlrpc->is_xmlrpc_request and $c->server->xmlrpc->private_methods->{$c->req->xmlrpc->method}) { }
388 19 2 if ($c->req->xmlrpc->is_xmlrpc_request)
396 7 12 if (scalar @{$c->error;} or $req_error) { }
397 7 0 if ($c->server->xmlrpc->config->show_errors) { }
398 1 6 if ($req_error and ref $req_error eq 'ARRAY') { }
406 0 0 if ($req_error and ref $req_error eq 'ARRAY') { }
419 7 5 if (exists $c->stash->{'xmlrpc'}) { }
435 0 21 if $Debug
483 0 6 unless $name and UNIVERSAL::isa($sub, 'CODE')
516 0 6 if $Obj
527 5 1 if $c->config->{'xmlrpc'}{'xml_encoding'}
572 17 2 if $c->server->xmlrpc->config->xml_encoding
580 18 1 $b ? :
585 1 18 unless ref $req
595 17 2 if (not $@ and defined $req->name) { }
2 0 elsif ($@) { }
611 1 16 @args == 1 && UNIVERSAL::isa($args[0], 'HASH') ? :
626 0 17 if ($prefix =~ m[^/])
627 0 0 if $c->debug
632 0 17 unless (UNIVERSAL::isa($sep, 'Regexp'))
633 0 0 if $c->debug
641 68 0 if defined $_
649 0 17 if $c->debug
651 17 0 if ($c->server->xmlrpc->config->convert_params and $self->params)
661 0 17 if $c->debug and %{$self->params;}
696 0 6 if $c->debug