Condition Coverage

blib/lib/Net/IP/Util.pm
Criterion Covered Total %
condition 0 52 0.0


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 0 isBinIpAddr($addr) and _validateIp(&bin2decIpAddr($addr))
54 0 0 0 isBinIpAddr($addr) and _validateIp(&bin2decIpAddr($addr))
62 0 0 0 isBinIpAddr($addr) and _validateIp(&bin2decIpAddr($addr))
70 0 0 0 isBinIpAddr($addr) and _validateIp(&bin2decIpAddr($addr))
78 0 0 0 isBinIpAddr($addr) and _validateIp(&bin2decIpAddr($addr))
98 0 0 0 isBinIpAddr($addr) and _validateIp(&bin2decIpAddr($addr))
148 0 0 0 $addr =~ /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/ and &$validate($1, $2, $3, $4)
186 0 0 0 isBinIpAddr($addr) and _validateIp($addr)
190 0 0 0 $mask and not isBinIpAddr($mask)
203 0 0 0 isBinIpAddr($ip) and _validateIp(&bin2decIpAddr($ip))
239 0 0 0 isBinIpAddr($addr) and _validateIp($addr)

or 2 conditions

line l !l condition
192 0 0 $mask =~ s/0//g || 0
212 0 0 $temp =~ s/1//g || 0
218 0 0 $temp =~ s/1//g || 0
230 0 0 $extendedMask =~ s/0//g || 0
250 0 0 $extendedMask =~ s/0//g || 0

or 3 conditions

line l !l&&r !l&&!r condition
173 0 0 0 not $noBits =~ /^\d+$/ or $noBits > 24
206 0 0 0 not $maskBits =~ /^\d+$/ or $maskBits < 0
0 0 0 not $maskBits =~ /^\d+$/ or $maskBits < 0 or $maskBits > 32