Branch Coverage

blib/lib/Math/Vector/BestRotation.pm
Criterion Covered Total %
branch 23 44 52.2


line true false branch
46 0 0 if ($self->can($meth)) { }
60 0 59 if @args
76 1 10 if @args
95 32 30 if (abs $mu->element(1, 1) < abs $mu->element(2, 1))
100 18 44 if (abs $mu->element(2, 1) < abs $mu->element(3, 1))
113 0 27 if ($mu->element(1, 1) < 1e-12)
131 0 27 if ($l == 0) { }
145 0 27 if ($l == 0) { }
149 0 0 if (abs $$b[0] < abs $$b[3]) { }
150 0 0 if (abs $$b[0] < abs $$b[6]) { }
162 0 0 if (abs $$b[3] < abs $$b[6]) { }
205 2 7 if ($self->matrix_r->det < 0)
238 0 3 @args > 0 ? :
240 0 3 unless defined $matrix
244 0 3 unless eval { do { $matrix->isa('Math::MatrixReal') } }
245 0 3 if $matrix->det < 0
255 2 1 if ($col_lengths[0] >= max($col_lengths[1], $col_lengths[2])) { }
0 1 elsif ($col_lengths[1] >= max($col_lengths[2], $col_lengths[0])) { }
270 0 3 @args > 0 ? :
272 0 3 unless defined $matrix
276 0 3 unless eval { do { $matrix->isa('Math::MatrixReal') } }
277 0 3 if $matrix->det < 0