Branch Coverage

blib/lib/Math/SymbolicX/Calculator/Interface/Shell.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
48 0 0 if defined $_
114 0 0 unless defined $expr
118 0 0 if ($expr =~ /=~~?/) { }
0 0 elsif ($expr =~ /=/) { }
128 0 0 if (not defined $cmd) { }
0 0 elsif (_INSTANCE $cmd, 'Math::SymbolicX::Calculator::Command') { }
0 0 elsif (ref $cmd eq 'ARRAY') { }
0 0 elsif ($cmd eq 'exit') { }
136 0 0 if ($$cmd[0] eq 'print')
211 0 0 if (not defined $expr and defined $$self{'prompt'}) { }
218 0 0 unless defined $line
222 0 0 if $line =~ /;\s*$/
245 0 0 if ($expr =~ /^\s*exit\s*$/i) { }
0 0 elsif ($expr =~ /^\s*print\s+($Ident)\s*$/) { }
0 0 elsif ($expr =~ /^\s*apply_deriv\s+($Ident)(?:\s*|\s+(\d+))$/) { }
0 0 elsif ($expr =~ /^\s*insert\s+($Ident|\*)\s+in\s+($Ident)\s*$/) { }
0 0 elsif ($expr =~ /^\s*$/) { }
294 0 0 unless (@out)
301 0 0 if (not defined $_) { }
0 0 elsif (_INSTANCE $_, 'Math::Symbolic::Custom::Transformation') { }
313 0 0 unless $str =~ /\n$/