Branch Coverage

blib/lib/Math/NumSeq/Expression.pm
Criterion Covered Total %
branch 18 68 26.4


line true false branch
52 0 1 $have_MS ? :
0 1 $have_MEE ? :
0 1 $have_LE ? :
56 0 1 $have_MS ? :
0 1 $have_MEE ? :
0 1 $have_LE ? :
64 0 1 $have_MS ? :
0 1 $have_MEE ? :
0 1 $have_LE ? :
167 0 2 unless (defined $expression)
177 1 1 if ($evaluator eq 'Perl') { }
0 1 elsif ($evaluator eq 'MS') { }
0 1 elsif ($evaluator eq 'MEE') { }
1 0 elsif ($evaluator eq 'LE') { }
190 1 0 unless eval { do { 'Safe'->VERSION(2.3); 1 } }
197 1 0 if (eval { do { require List::Util; 1 } })
246 1 0 unless ($subr)
253 0 0 unless (defined $tree)
258 0 0 if (eval { do { $tree->VERSION(0.605); 1 } })
263 0 0 if (@vars > 1)
281 0 0 unless eval { do { $me->parse($expression); 1 } }
286 0 0 if (@vars > 1)
296 0 0 if (@vars) { }
313 0 0 unless eval { do { $varef = $var_enumer->eval($expression); 1 } }
322 0 0 if (@vars > 1)
328 0 0 unless eval { do { $perlstr = $pc->compile($expression); 1 } }
335 0 0 unless $subr = eval "package Math::NumSeq::Expression::LanguageExpr;\n use strict;\n sub { my \$$v = \$_[0]; $perlstr }"
403 0 0 if ($self->{'above'} >= 10)
407 0 0 unless (defined $n)
433 0 0 unless ref $node
437 0 0 if ($node->[0] eq '$') { }
0 0 elsif ($node->[0] eq '=') { }
439 0 0 unless ($assigned{$varname})
445 0 0 if ($vnode->[0] eq '$')