blib/lib/Plack/Middleware/IPAddressFilter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 2 | if (ref $rules ne 'ARRAY') |
22 | 2 | 0 | if (not defined $1 or $1 eq '+') { } |
35 | 0 | 2 | unless my $remote_address = $$env{'REMOTE_ADDR'} |
38 | 1 | 1 | if ($self->rules->find($remote_address)) |