Condition Coverage

blib/lib/WWW/HostipInfo.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
97 0 8 0 defined $_[1] and $_[1] =~ /^(\d{1,3})\.(\d{1,3})\.\d{1,3}\.\d{1,3}$/
99 3 0 1 $1 == 192 && $2 == 168
1 0 2 $1 == 172 && $2 >= 16 && $2 <= 31

or 2 conditions

line l !l condition
65 0 8 shift() || {}
132 0 1 $region || ''

or 3 conditions

line l !l&&r !l&&!r condition
64 7 0 1 shift() || $self->ip
99 1 1 4 $1 == 127 || $1 == 10