Branch Coverage

blib/lib/Test/ShellScript.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
259 5 0 if ($cmdLine and open $fh, "$cmdLine |") { }
291 0 7 unless &_check($variable, 'Undefined passed variable name')
293 0 7 unless &_check($timelineVariable, 'Undefined variable name in timeline')
316 0 7 unless &_check($value, 'Undefined passed variable value')
318 0 7 unless &_check($timelineValue, 'Undefined variable value in timeline')
337 3 0 if ($timeIndex < @timeLine) { }
377 0 6 unless &_check($var, 'Undefined passed variable name')
378 0 6 unless &_check($value, 'Undefined passed variable value')
400 0 0 unless &_check($var, 'Undefined passed variable name')
401 0 0 unless &_check($value, 'Undefined passed variable value')
429 0 40 if (not defined $var) { }
441 1 6 if $timeLine[$timeIndex++][0] ne $variable
454 0 0 if $timeLine[$pc++][0] eq $variable
464 5 16 unless $line =~ /$acceptLines/