Condition Coverage

blib/lib/Mojolicious/Plugin/RESTful.pm
Criterion Covered Total %
condition 11 13 84.6


and 3 conditions

line !l l&&!r l&&r condition
57 7 2 2 $route ne $route->root and $root_methods =~ /\A[lcrudpo]+\z/

or 2 conditions

line l !l condition
49 4 7 $params->{'root'} // 'lcrudpo'
68 3 8 $params->{'methods'} // 'lcrudpo'

or 3 conditions

line l !l&&r !l&&!r condition
52 2 9 0 $params->{'controller'} // ucfirst $route_name
55 3 0 8 $params->{'nonresource'} // $self->crud2http->{'nonresource'}