Branch Coverage

blib/lib/Math/Vector/Real.pm
Criterion Covered Total %
branch 19 124 15.3


line true false branch
66 0 0 unless $dim >= 0
82 0 0 if (ref $_[0]) { }
89 0 0 unless $dim >= 0
91 0 0 unless $ix >= 0 and $ix < $dim
102 0 0 defined $op ? :
107 78 0 if eval { do { @{$_[0];} == @{$_[1];} } }
109 0 0 $_[2] ? :
110 0 0 unless UNIVERSAL::isa($_[1], 'ARRAY')
139 4 12 $_[2] ? :
151 17 29 if (ref $_[1]) { }
165 0 0 if ref $_[1]
172 0 6 if $_[2] or ref $_[1]
175 0 6 if $div == 0
181 0 1 if ref $_[1]
204 4 11 $_[2] ? :
206 15 0 if ($dim == 3)
211 0 0 if ($dim == 7) { }
277 0 0 unless defined $d
278 0 0 if (defined $dim) { }
279 0 0 unless $d == $dim
284 0 0 UNIVERSAL::isa($_, 'Math::Vector::Real') ? :
290 0 1 if (@$v0 == 2) { }
297 0 1 unless $a0
308 0 8 if $f == 0
326 0 0 if $abs > $max
336 0 0 if $abs < $min
350 0 0 unless ref $_[0]
352 0 0 if (@_)
361 0 0 unless @_
368 0 0 if ($$max[$ix] < $c) { }
0 0 elsif ($$min[$ix] > $c) { }
376 0 0 wantarray ? :
383 0 0 if ($$p[$_] < $$min[$_]) { }
0 0 elsif ($$p[$_] > $$max[$_]) { }
394 0 0 unless @_ > 1
399 0 0 if ($$p[$_] < $$min[$_]) { }
0 0 elsif ($$p[$_] > $$max[$_]) { }
417 0 0 if ($$p[$_] < $$b0[$_]) { }
0 0 elsif ($$p[$_] > $$b1[$_]) { }
427 0 0 if ($in == @$p)
434 0 0 if ($min_d > $d)
447 0 0 unless @_ > 1
454 0 0 $d0 >= $d1 ? :
466 0 0 if ($e0 >= 0) { }
471 0 0 if ($e1 > 0)
491 0 0 $e0 > $e1 ? :
498 0 0 unless @$self
503 0 0 if ($c > $max)
513 0 0 unless @$self
518 0 0 if ($c < $min)
530 0 4 wantarray ? :
542 0 4 unless @$v == 3
546 4 3 if (CORE::abs $$v[$_] > 0.57)
562 0 3 if (wantarray) { }
575 0 0 unless @_
577 0 0 if ($dim == 2 and @_ == 1)
592 0 0 if $last < 0
595 0 0 if ($max < 0.3)
598 0 0 if ($d2 > $max)
600 0 0 unless $d2 < 0.3
608 0 0 wantarray ? :
625 0 0 if $v->dist2($$p[$ix]) <= $r2