Branch Coverage

blib/lib/Math/Matlab/Local.pm
Criterion Covered Total %
branch 4 42 9.5


line true false branch
22 3 1 defined $$href{'cmd'} ? :
3 1 defined $$href{'root_mwd'} ? :
46 0 0 if $self->root_mwd or $rel_mwd
47 0 0 if ($self->root_mwd)
48 0 0 unless chdir $self->root_mwd
50 0 0 if ($rel_mwd)
52 0 0 unless chdir $mwd
64 0 0 if (open Matlab::IO, $self->output_fn) { }
67 0 0 if ($$self{'result'} =~ /-----MATLAB-BEGIN-----\n-----SUCCESS/) { }
0 0 elsif ($$self{'result'} =~ /-----MATLAB-BEGIN-----\n-----ERROR/) { }
92 0 0 if ($cwd)
93 0 0 unless chdir $cwd
108 0 0 if $$self{'generated_script'} and -f $self->script_fn
109 0 0 if -f $self->wrapper_fn
110 0 0 if -f $self->output_fn
120 0 0 if (defined $script_fn) { }
121 0 0 if (-f $script_fn)
122 0 0 if ($code) { }
138 0 0 if ($$self{'generated_script'})
169 0 0 unless open Matlab::IO, ">$fn"
180 0 0 unless open Matlab::IO, ">$fn"