Branch Coverage

blib/lib/Math/Vector/Real.pm
Criterion Covered Total %
branch 19 126 15.0


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) { }
259 0 0 if $abs > $max
269 0 0 if $abs < $min
294 0 0 if $d > $max
303 0 0 unless defined $d
304 0 0 if (defined $dim) { }
305 0 0 unless $d == $dim
310 0 0 UNIVERSAL::isa($_, 'Math::Vector::Real') ? :
316 0 1 if (@$v0 == 2) { }
323 0 1 unless $a0
334 0 8 if $f == 0
354 0 0 unless ref $_[0]
356 0 0 if (@_)
365 0 0 unless @_
372 0 0 if ($$max[$ix] < $c) { }
0 0 elsif ($$min[$ix] > $c) { }
380 0 0 wantarray ? :
387 0 0 if ($$p[$_] < $$min[$_]) { }
0 0 elsif ($$p[$_] > $$max[$_]) { }
398 0 0 unless @_ > 1
403 0 0 if ($$p[$_] < $$min[$_]) { }
0 0 elsif ($$p[$_] > $$max[$_]) { }
421 0 0 if ($$p[$_] < $$b0[$_]) { }
0 0 elsif ($$p[$_] > $$b1[$_]) { }
431 0 0 if ($in == @$p)
438 0 0 if ($min_d > $d)
451 0 0 unless @_ > 1
458 0 0 $d0 >= $d1 ? :
470 0 0 if ($e0 >= 0) { }
475 0 0 if ($e1 > 0)
495 0 0 $e0 > $e1 ? :
502 0 0 unless @$self
507 0 0 if ($c > $max)
517 0 0 unless @$self
522 0 0 if ($c < $min)
534 0 4 wantarray ? :
546 0 4 unless @$v == 3
550 4 3 if (CORE::abs $$v[$_] > 0.57)
566 0 3 if (wantarray) { }
579 0 0 unless @_
581 0 0 if ($dim == 2 and @_ == 1)
596 0 0 if $last < 0
599 0 0 if ($max < 0.3)
602 0 0 if ($d2 > $max)
604 0 0 unless $d2 < 0.3
612 0 0 wantarray ? :
629 0 0 if $v->dist2($$p[$ix]) <= $r2