Condition Coverage

blib/lib/Net/CIDR/ORTC.pm
Criterion Covered Total %
condition 20 40 50.0


and 3 conditions

line !l l&&!r l&&r condition
73 0 0 40 defined $ip and defined $pref_len
75 0 0 40 $pref_len =~ /^\d+$/ and $pref_len >= 0
0 0 40 $pref_len =~ /^\d+$/ and $pref_len >= 0 and $pref_len <= 32
127 0 0 1 $pref_len =~ /^\d+$/ and $pref_len >= 0
0 0 1 $pref_len =~ /^\d+$/ and $pref_len >= 0 and $pref_len <= 32
139 0 1 0 $node and $bit_to_test & $mask
290 7 150 38 ref $$parent[0] and $$parent[0] == $node
0 0 157 ref $$parent[1] and $$parent[1] == $node

or 3 conditions

line l !l&&r !l&&!r condition
150 1 0 0 $$node[0] or $$node[1]
289 158 27 195 defined $$node[2] || $$node[0] || $$node[1]
313 0 0 252 $_ > 255 or $_ < 0
327 0 0 91 $_[0] < 0 or $_[0] > 32

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
212 23 150 30 211 $$node[0] xor $$node[1]