| blib/lib/Net/Hacky/Detect/IP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 0 | 42 | 0.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 120 | 0 | 0 | 0 | $type and $type =~ /^4|6$/ | 
| 141 | 0 | 0 | 0 | $args[0] and $type != 0 | 
| 143 | 0 | 0 | 0 | $flags and not $type =~ /\Q$flags\E/ | 
| 166 | 0 | 0 | 0 | $os eq 'unix' and not -e $fullpath | 
| 192 | 0 | 0 | 0 | $type == 4 || $type == 0 and $testIP =~ /(\d+\.\d+\.\d+\.\d+)/ | 
| 0 | 0 | 0 | $type == 6 || $type == 0 and $testIP =~ /:/ | |
| 0 | 0 | 0 | $type == 6 || $type == 0 and $testIP =~ /:/ and $testIP =~ /[0-9]/ | |
| 0 | 0 | 0 | $type == 6 || $type == 0 and $testIP =~ /:/ and $testIP =~ /[0-9]/ and $testIP =~ /^([a-f0-9:]+)$/ | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 192 | 0 | 0 | 0 | $type == 4 || $type == 0 | 
| 0 | 0 | 0 | $type == 6 || $type == 0 | |
| 260 | 0 | 0 | 0 | $ip[0] <= 0 or $ip[0] >= 255 | 
| 261 | 0 | 0 | 0 | $ip[1] < 0 or $ip[1] > 255 | 
| 262 | 0 | 0 | 0 | $ip[2] < 0 or $ip[2] > 255 | 
| 263 | 0 | 0 | 0 | $ip[3] <= 0 or $ip[3] >= 255 |