Condition Coverage

blib/lib/Geo/Shapelib.pm
Criterion Covered Total %
condition 25 65 38.4


and 3 conditions

line !l l&&!r l&&r condition
352 2 9 0 defined $options and not ref $options
377 2 0 9 defined $options and ref $options
411 2 2 3 $$self{'Load'} and $$self{'LoadRecords'}
434 2 1 2 $$self{'Load'} and $$self{'LoadRecords'}
441 2 0 5 $$self{'Load'} and $$self{'LoadAll'}
495 8575 5710 8594 not $from_file and $$self{'Shapes'}
527 10 11421 2875 not $from_file and $$self{'ShapeRecords'}
748 0 0 0 $$self{'Shapes'} and ref $$self{'Shapes'} eq 'ARRAY'
0 0 0 $$self{'Shapes'} and ref $$self{'Shapes'} eq 'ARRAY' and @{$$self{'Shapes'};}
788 0 0 0 $$v[$i][0] >= $minx and $$v[$i][0] <= $maxx
0 0 0 $$v[$i][0] >= $minx and $$v[$i][0] <= $maxx and $$v[$i][1] >= $miny
0 0 0 $$v[$i][0] >= $minx and $$v[$i][0] <= $maxx and $$v[$i][1] >= $miny and $$v[$i][1] <= $maxy
805 0 0 0 $$shape{'SelectedVertices'} and @{$$shape{'SelectedVertices'};}
830 0 0 0 $$shape{'SelectedVertices'} and @{$$shape{'SelectedVertices'};}
840 0 0 0 $$shape{'SelectedVertices'} and @{$$shape{'SelectedVertices'};}
944 0 0 1 $$self{'Shapes'} and ref $$self{'Shapes'} eq 'ARRAY'
0 0 1 $$self{'Shapes'} and ref $$self{'Shapes'} eq 'ARRAY' and @{$$self{'Shapes'};}
1030 0 14276 0 $$shape{'SHPType'} != 0 and $$shape{'SHPType'} != $$self{'Shapetype'}
1122 0 0 1 $$self{'Shapes'} and ref $$self{'Shapes'} eq 'ARRAY'
0 0 1 $$self{'Shapes'} and ref $$self{'Shapes'} eq 'ARRAY' and @{$$self{'Shapes'};}

or 2 conditions

line l !l condition
1143 1 0 $$self{'Name'} || '(none)'

or 3 conditions

line l !l&&r !l&&!r condition
355 0 11 0 ref $package || $package