Branch Coverage

blib/lib/Mojolicious/Plugin/SimpleSlides.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
40 0 3 if (my $slides = $conf->{'slides'})
45 0 3 if (defined $conf->{'first_slide'})
49 0 3 if (defined $conf->{'last_slide'})
87 10 0 unless my $slides = $self->slides
93 6 4 $current == $self->first_slide ? :
98 6 4 $current == $self->last_slide ? :
106 2 8 unless my $slide = $plugin->template_for_slide($c->stash('slide'))
109 3 5 unless $c->render($slide)
118 0 0 ref $content ? :
124 0 0 if ($width)
128 0 0 if (my $align = delete $args{'align'} || $plugin->column_align)
142 0 0 unless @_