blib/lib/Plack/Middleware/IPMatch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 7 | 42.8 |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 7 | $$env{'HTTP_X_FORWARDED_FOR'} // '' |
31 | 7 | 0 | $$env{'REMOTE_ADDR'} // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 0 | 7 | 0 | $possible_forwarded_ips[0] // 'Net::IP::XS'->new($$env{'REMOTE_ADDR'} // '') |