blib/lib/Net/Hacky/Detect/IP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 42 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
107 | 0 | 0 | 0 | $type and $type =~ /^4|6$/ |
128 | 0 | 0 | 0 | $args[0] and $type != 0 |
130 | 0 | 0 | 0 | $flags and not $type =~ /\Q$flags\E/ |
153 | 0 | 0 | 0 | $os eq 'unix' and not -e $fullpath |
179 | 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 |
---|---|---|---|---|
179 | 0 | 0 | 0 | $type == 4 || $type == 0 |
0 | 0 | 0 | $type == 6 || $type == 0 | |
247 | 0 | 0 | 0 | $ip[0] <= 0 or $ip[0] >= 255 |
248 | 0 | 0 | 0 | $ip[1] < 0 or $ip[1] > 255 |
249 | 0 | 0 | 0 | $ip[2] < 0 or $ip[2] > 255 |
250 | 0 | 0 | 0 | $ip[3] <= 0 or $ip[3] >= 255 |