Branch Coverage

blib/lib/Clustericious/Plugin/CommonRoutes.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
20 32 0 unless $app->renderer->handlers->{'autodata'}
25 1 31 if $class eq 'Mojolicious::Lite'
36 1 31 if $name eq 'Mojolicious::Lite'
59 0 1 $table ? :
66 1 0 unless ($self->config->export_logs('default', 0))
71 30 2 if $app->isa('Clustericious::App')
83 18 37 'Rose::Planter'->can('tables') ? :
97 2 26 unless $r->via
98 2 26 if (_have_rose() and $placeholders{'table'}) { }
1 25 elsif (_have_rose() and $placeholders{'items'}) { }
22 3 elsif (defined $pat->unparsed) { }
132 0 0 if $rose_type =~ /^datetime/
147 1 0 unless _have_rose()
149 0 0 unless defined $class