Branch Coverage

blib/lib/Math/Shape/OrientedRectangle.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
18 0 14 unless @_ == 6
28 0 63 unless @_ == 2
41 31 32 if ($mod == 0) { }
13 19 elsif ($mod == 1) { }
18 1 elsif ($mod == 2) { }
71 0 17 unless $_[1]->isa('Math::Shape::LineSegment')
85 16 1 $axis_range->is_overlapping($projection) ? :
91 0 24 unless @_ == 2
97 6 18 if ($mod == 0) { }
6 12 elsif ($mod == 1) { }
6 6 elsif ($mod == 2) { }
6 0 elsif ($mod == 3) { }
175 5 22 if ($other_obj->isa('Math::Shape::OrientedRectangle')) { }
6 16 elsif ($other_obj->isa('Math::Shape::Vector')) { }
6 10 elsif ($other_obj->isa('Math::Shape::Line')) { }
6 4 elsif ($other_obj->isa('Math::Shape::LineSegment')) { }
2 2 elsif ($other_obj->isa('Math::Shape::Rectangle')) { }
2 0 elsif ($other_obj->isa('Math::Shape::Circle')) { }
178 1 4 if $other_obj->axis_is_separating($edge)
181 0 4 if $other_obj->axis_is_separating($edge)
184 0 4 if $self->axis_is_separating($edge)
187 0 4 if $self->axis_is_separating($edge)