Condition Coverage

blib/lib/Geo/Coordinates/OSGB/Grid.pm
Criterion Covered Total %
condition 23 39 58.9


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 2 get_ostn02_shift_pair($easting, $northing) and get_ostn02_shift_pair($easting, $northing + $margin)
0 0 2 get_ostn02_shift_pair($easting, $northing) and get_ostn02_shift_pair($easting, $northing + $margin) and get_ostn02_shift_pair($easting, $northing - $margin)
0 0 2 get_ostn02_shift_pair($easting, $northing) and get_ostn02_shift_pair($easting, $northing + $margin) and get_ostn02_shift_pair($easting, $northing - $margin) and get_ostn02_shift_pair($easting + $margin, $northing)
0 0 2 get_ostn02_shift_pair($easting, $northing) and get_ostn02_shift_pair($easting, $northing + $margin) and get_ostn02_shift_pair($easting, $northing - $margin) and get_ostn02_shift_pair($easting + $margin, $northing) and get_ostn02_shift_pair($easting - $margin, $northing)
0 0 2 get_ostn02_shift_pair($easting, $northing) and get_ostn02_shift_pair($easting, $northing + $margin) and get_ostn02_shift_pair($easting, $northing - $margin) and get_ostn02_shift_pair($easting + $margin, $northing) and get_ostn02_shift_pair($easting - $margin, $northing) and 0 != _winding_number($easting, $northing, $map->{'polygon'})
100 30416 26749 3977 $m->{'bbox'}[0][0] <= $easting and $easting < $m->{'bbox'}[1][0]
57165 1950 2027 $m->{'bbox'}[0][0] <= $easting and $easting < $m->{'bbox'}[1][0] and $m->{'bbox'}[0][1] <= $northing
28699 1818 209 $m->{'bbox'}[0][0] <= $easting and $easting < $m->{'bbox'}[1][0] and $m->{'bbox'}[0][1] <= $northing and $northing < $m->{'bbox'}[1][1]
197 0 0 226 0 <= $e and $e < 2500000
0 0 226 0 <= $e and $e < 2500000 and 0 <= $n
0 0 226 0 <= $e and $e < 2500000 and 0 <= $n and $n < 2500000
315 1568 3 267 $$poly[$i + 1][1] > $y and _is_left($x, $y, $poly->[$i], $$poly[$i + 1]) > 0
320 2086 264 6 $$poly[$i + 1][1] <= $y and _is_left($x, $y, $poly->[$i], $$poly[$i + 1]) < 0