Branch Coverage

blib/lib/App/MojoSlides.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
27 0 6 unless -e $file
30 0 6 if wantarray
54 3 0 if $self->config->{'more_tag_helpers'}
56 0 3 if (my $path = $self->config->{'templates'})
57 0 0 ref $path ? :
60 0 3 if (my $path = $self->config->{'static'})
61 0 0 ref $path ? :
64 0 3 if (my $ppi = $self->config->{'ppi'})
66 0 0 if -d $ppi
103 0 4 unless my $slide = $slides->template_for($c->stash('slide'))
105 0 4 unless $c->render($slide, 'layout', 'basic')
110 1 1 ref $_[0] ? :
122 3 18 if /^__DATA__/