Condition Coverage

blib/lib/Net/Hacky/Detect/IP.pm
Criterion Covered Total %
condition 0 36 0.0


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 0 $type and $type =~ /^4|6$/
145 0 0 0 $os eq 'unix' and not -e $fullpath
171 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:]+)$/

or 3 conditions

line l !l&&r !l&&!r condition
171 0 0 0 $type == 4 || $type == 0
0 0 0 $type == 6 || $type == 0
289 0 0 0 $ip[0] <= 0 or $ip[0] >= 255
290 0 0 0 $ip[1] < 0 or $ip[1] > 255
291 0 0 0 $ip[2] < 0 or $ip[2] > 255
292 0 0 0 $ip[3] <= 0 or $ip[3] >= 255