Condition Coverage

blib/lib/Geo/SypexGeo.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

line !l l&&!r l&&r condition
111 1 0 0 $lang and $lang eq 'en'
213 0 3 24 &encode_utf8($ipn) gt &encode_utf8(substr($self->{'m_idx_str'}, $min * 4, 4)) and $min++ < $max
240 3 0 9 &encode_utf8($ipn) ge &encode_utf8(substr($str, $min * $self->{'block_len'}, 3)) and $min++ < $max

or 3 conditions

line l !l&&r !l&&!r condition
157 0 0 3 not $ip1n or $ip1n == 10
0 0 3 not $ip1n or $ip1n == 10 or $ip1n == 127
0 0 3 not $ip1n or $ip1n == 10 or $ip1n == 127 or $ip1n >= $self->{'b_idx_len'}