Branch Coverage

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


line true false branch
29 0 6 unless -e $file
32 0 6 if wantarray
56 3 0 if $self->config->{'more_tag_helpers'}
58 0 3 if (my $path = $self->config->{'templates'})
59 0 0 ref $path ? :
62 0 3 if (my $path = $self->config->{'static'})
63 0 0 ref $path ? :
66 0 3 if (my $ppi = $self->config->{'ppi'})
68 0 0 if -d $ppi
105 0 4 unless my $slide = $slides->template_for($c->stash('slide'))
107 0 4 unless $c->render($slide, 'layout', 'basic')
112 1 1 ref $_[0] ? :
124 3 18 if /^__DATA__/