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