blib/lib/Plack/Middleware/Security/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
26 | 8 | 0 | if (my $rules = $self->rules) |
28 | 6 | 2 | if (XXX or XXX) |
34 | 7 | 1 | unless ($self->status) |
38 | 7 | 1 | unless ($self->handler) |
43 | 1 | 87 | if (my $logger = $env->{'psgix.logger'}) |
61 | 109 | 0 | if (my $rules = $self->rules) |
62 | 91 | 18 | if &$rules($env) |