Condition Coverage

blib/lib/Mojolicious/Command/generate/routes_restsful.pm
Criterion Covered Total %
condition 0 56 0.0


or 2 conditions

line l !l condition
125 0 0 $route->{'STASH'} || {}
128 0 0 $route->{'ACTION'} || 'show'
192 0 0 $config->{'VERSION'} || ''
193 0 0 $config->{'RESOURCE_PREFIX'} || ''
204 0 0 $api->{'STASH'} || {}
206 0 0 $config->{'PREFIX'} || 'api'
252 0 0 $api->{'STASH'} || {}
254 0 0 $config->{'PREFIX'} || 'api'
301 0 0 $api->{'STASH'} || {}
303 0 0 $config->{'PREFIX'} || 'api'

or 3 conditions

line l !l&&r !l&&!r condition
130 0 0 0 $route->{'CONTROLLER'} || $key
138 0 0 0 $resource || $key
148 0 0 0 $resource || $key
151 0 0 0 $route->{'CONTROLLER'} || $parent
156 0 0 0 $route->{'ACTION'} || $key
180 0 0 0 $route->{'ACTION'} || $key
202 0 0 0 $api->{'RESOURCE'} || PL($key)
205 0 0 0 $api->{'CONTROLLER'} || $resource
250 0 0 0 $api->{'RESOURCE'} || PL($key)
253 0 0 0 $api->{'CONTROLLER'} || $child_resource
300 0 0 0 $api->{'RESOURCE'} || PL($key)
302 0 0 0 $api->{'ACTION'} || $child_resource