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 30441 26722 3979 $m->{'bbox'}[0][0] <= $easting and $easting < $m->{'bbox'}[1][0]
57163 1955 2024 $m->{'bbox'}[0][0] <= $easting and $easting < $m->{'bbox'}[1][0] and $m->{'bbox'}[0][1] <= $northing
28677 1816 208 $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 1537 3 266 $$poly[$i + 1][1] > $y and _is_left($x, $y, $poly->[$i], $$poly[$i + 1]) > 0
320 2055 263 6 $$poly[$i + 1][1] <= $y and _is_left($x, $y, $poly->[$i], $$poly[$i + 1]) < 0