Branch Coverage

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


line true false branch
36 0 3 if (my $slides = $conf->{'slides'})
41 0 3 if (defined $conf->{'first_slide'})
45 0 3 if (defined $conf->{'last_slide'})
83 10 0 unless my $slides = $self->slides
89 6 4 $current == $self->first_slide ? :
94 6 4 $current == $self->last_slide ? :
102 2 8 unless my $slide = $plugin->template_for_slide($c->stash('slide'))
105 3 5 unless $c->render($slide)
114 0 0 ref $content ? :
120 0 0 if ($width)
124 0 0 if (my $align = delete $args{'align'} || $plugin->column_align)
138 0 0 unless @_