blib/lib/Geo/SypexGeo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 18 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
111 | 1 | 0 | 0 | $lang and $lang eq 'en' |
220 | 0 | 3 | 24 | &encode_utf8($ipn) gt &encode_utf8(substr($self->{'m_idx_str'}, $min * 4, 4)) and $min++ < $max |
247 | 3 | 0 | 9 | &encode_utf8($ipn) ge &encode_utf8(substr($str, $min * $self->{'block_len'}, 3)) and $min++ < $max |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
164 | 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'} |