Branch Coverage

lib/Catalyst/Plugin/Server/XMLRPC/DispatchType/XMLRPCPath.pm
Criterion Covered Total %
branch 13 30 43.3


line true false branch
49 0 0 if keys %{$self->methods($c);}
50 0 0 if $prefixwarning and $self->config->prefix
67 0 0 if $$self{'methods'}
71 0 0 unless $self->config
75 0 0 UNIVERSAL::isa($$self{'paths'}{$path}, 'ARRAY') ? :
77 0 0 unless $path eq '/'
101 171 20 unless $$attrs{'XMLRPCPath'}
102 0 20 if (not $r) { }
0 20 elsif (not $r =~ m[^/]) { }
104 0 0 unless $r
112 0 191 if ($$attrs{'XMLRPCGlobal'})
116 25 166 if ($$attrs{'XMLRPCLocal'} or $$attrs{'XMLRPC'})
125 6 185 unless scalar %{$c->server->xmlrpc->dispatcher;}
127 45 146 if @register
137 12 17 unless $c->req->path eq $name