Branch Coverage

lib/Geo/ShapeFile/Point.pm
Criterion Covered Total %
branch 25 52 48.0


line true false branch
41 10098 97262 if (@_) { }
81 1 7 if ($config{'comp_includes_z'} and defined $left->Z || defined $right->Z)
82 0 1 unless defined $left->Z and defined $right->Z
83 0 1 unless $left->Z == $right->Z
85 3 5 if ($config{'comp_includes_m'} and defined $left->M || defined $right->M)
86 0 3 unless defined $left->M and defined $right->M
87 0 3 unless $left->M == $right->M
98 230 198 if (defined $self->$_)
122 1 7 unless $x_off or $y_off
125 2 5 if ($bearing < 0)
140 0 8 if ($reverse)
145 8 0 if (UNIVERSAL::isa($l, 'Geo::ShapeFile::Point'))
146 8 0 if (UNIVERSAL::isa($r, 'Geo::ShapeFile::Point'))
148 0 8 if ($l =~ /^[\d\.]+$/)
149 0 8 if ($r =~ /^[\d\.]+$/)
151 0 8 unless ($left)
152 0 8 unless ($right)
157 0 8 unless defined &{$function;}
169 0 0 if (defined $p2->Z and defined $p1->Z)
182 0 0 if (defined $p1->Z)
196 0 8 if (defined $p2->Z and defined $p1->Z)
210 0 0 if (defined $p1->Z)
226 0 0 if (defined $p2->Z and defined $p1->Z)
240 0 0 if (defined $p1->Z)
257 0 0 if (defined $p2->Z and defined $p1->Z)
272 0 0 if (defined $p1->Z)