blib/lib/HTTP/ClientDetect/Location.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 12 | 50.0 |
line | true | false | branch |
---|---|---|---|
69 | 1 | 0 | if ($@) |
91 | 1 | 1 | if (ref $arg) { } |
93 | 1 | 0 | if ($arg->can('remote_address')) { } |
0 | 0 | elsif ($arg->can('address')) { } | |
104 | 0 | 2 | unless $ip |
105 | 2 | 0 | if ($ip =~ /(([0-9]{1,3}\.){3}([0-9]{1,3}))/) { } |