Branch Coverage

blib/lib/Math/Symbolic/VectorCalculus.pm
Criterion Covered Total %
branch 49 88 55.6


line true false branch
166 1 13 unless ref($original) =~ /^Math::Symbolic/
171 12 2 defined $signature ? :
217 6 3 ref($_) =~ /^Math::Symbolic/ ? :
222 2 1 unless defined $signature
225 0 3 if (@$signature != @originals)
287 0 3 ref($_) =~ /^Math::Symbolic/ ? :
292 1 0 unless defined $signature
295 0 1 if (@originals != 3)
298 0 1 if (@$signature != 3)
367 2 3 ref($_) =~ /^Math::Symbolic/ ? :
372 0 2 ref($_) =~ /^Math::Symbolic/ ? :
381 1 1 defined $signature ? :
400 1 0 unless ref($function) =~ /^Math::Symbolic/
403 0 0 ref($_) =~ /^Math::Symbolic/ ? :
407 0 1 defined $signature ? :
438 3 0 unless ref($function) =~ /^Math::Symbolic/
442 1 2 unless defined $sig
446 2 1 unless defined $point
449 0 3 if (@point != @sig)
454 0 3 if (@grad != @sig)
494 2 0 unless ref($function) =~ /^Math::Symbolic/
501 1 1 unless defined $sig
504 0 2 if (@vec != @sig)
509 0 2 if (@grad != @sig)
558 0 1 if $n == 0
559 1 0 if $n == 1
629 0 0 if $k == 0
630 0 0 if $k > $n / 2
637 0 0 if $j > 1
656 0 1 if $num < 0
659 1 0 if $num <= 1
687 2 0 unless ref($function) =~ /^Math::Symbolic/
691 2 0 unless ref $x1 eq 'Math::Symbolic::Variable'
694 2 0 unless ref $x2 eq 'Math::Symbolic::Variable'
700 2 0 unless defined $x1_0
701 2 0 unless ref $x1_0 eq 'Math::Symbolic::Variable'
705 2 0 unless defined $x2_0
706 2 0 unless ref $x2_0 eq 'Math::Symbolic::Variable'
720 1 1 if $n == 0
746 0 2 ref($_) =~ /^Math::Symbolic/ ? :
750 1 0 defined $vars ? :
752 0 1 unless defined $vars
753 0 0 if @sig != 1
758 0 1 unless @vars == @functions