blib/lib/Mojolicious/Plugin/AutoReload.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
86 | 1 | 1 | if ($app->mode eq 'development') |
102 | 3 | 0 | if $c->req->url->path ne '/auto_reload' or $c->req->is_handshake |
110 | 0 | 0 | if (not $c->param('nonce') or $c->param('nonce') ne $nonce) |
118 | 1 | 2 | if $c->stash('plugin.auto_reload.disable') |
119 | 0 | 2 | if $format ne 'html' |
120 | 2 | 0 | if (my $reload = $c->auto_reload) |
127 | 1 | 1 | unless ($$output =~ s[( |