Branch Coverage

blib/lib/Mojolicious/Plugin/AutoReload.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
81 1 1 if ($app->mode eq 'development')
84 0 0 if ($c->param('restart'))
87 0 0 if ($ENV{'PLACK_ENV'}) { }
106 1 2 if $c->stash('plugin.auto_reload.disable')
107 0 2 if $format ne 'html'
108 2 0 if (my $reload = $c->auto_reload)
115 1 1 unless ($$output =~ s[(
126 3 1 if ($app->mode eq 'development' and not $c->stash('plugin.auto_reload.disable'))
129 0 3 $ENV{'PLACK_ENV'} ? :