| blib/lib/Dancer/Hook.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 14 | 64.2 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 0 | 133 | unless (scalar @args) |
| 32 | 5 | 128 | if $hook_name eq "before_template" |
| 37 | 133 | 0 | if (scalar @args == 1) { } |
| 0 | 0 | elsif (scalar @args == 2) { } | |
| 49 | 1 | 132 | unless ref $code eq "CODE" |
| 55 | 1 | 298 | if "Dancer::SharedData"->response->halted |
| 58 | 0 | 298 | unless $properties->should_run_this_app($app->name) |