Branch Coverage

blib/lib/Mojolicious/Command/generate/routes_restsful.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
22 0 0 unless $class =~ /^[A-Z](?:\w|::)+$/
31 0 0 unless exists $in_routes->{$sub_ref}
49 0 0 if ref $route->{'INLINE'} ne 'HASH'
126 0 0 if $parent_stash
132 0 0 if ($type eq 'PARENT')
135 0 0 if exists $route->{'API'}
138 0 0 if exists $route->{'API_ONLY'}
141 0 0 unless exists $route->{'NO_ROOT'}
144 0 0 unless exists $route->{'NO_ID'}
154 0 0 if ($type eq 'INLINE') { }
0 0 elsif ($type eq 'CHILD') { }
159 0 0 if exists $route->{'API'}
162 0 0 if exists $route->{'API_ONLY'}
164 0 0 if (exists $route->{'NO_ID'}) { }
175 0 0 if exists $route->{'API'}
178 0 0 if exists $route->{'API_ONLY'}
210 0 0 if $verbs->{'RETREIVE'}
213 0 0 if $verbs->{'RETREIVE'}
216 0 0 if $verbs->{'RETREIVE'}
219 0 0 if $verbs->{'CREATE'}
222 0 0 if $verbs->{'CREATE'}
225 0 0 if $verbs->{'UPDATE'}
228 0 0 if $verbs->{'UPDATE'}
231 0 0 if $verbs->{'REPLACE'}
234 0 0 if $verbs->{'REPLACE'}
237 0 0 if $verbs->{'DELETE'}
240 0 0 if $verbs->{'DELETE'}
260 0 0 if $verbs->{'RETREIVE'}
263 0 0 if $verbs->{'RETREIVE'}
266 0 0 if $verbs->{'RETREIVE'}
269 0 0 if $verbs->{'RETREIVE'}
272 0 0 if $verbs->{'CREATE'}
275 0 0 if $verbs->{'CREATE'}
278 0 0 if $verbs->{'REPLACE'}
281 0 0 if $verbs->{'REPLACE'}
284 0 0 if $verbs->{'UPDATE'}
287 0 0 if $verbs->{'UPDATE'}
290 0 0 if $verbs->{'DELETE'}
293 0 0 if $verbs->{'DELETE'}
309 0 0 if $verbs->{'RETREIVE'}
312 0 0 if $verbs->{'RETREIVE'}
315 0 0 if $verbs->{'UPDATE'}
318 0 0 if $verbs->{'UPDATE'}