Branch Coverage

blib/lib/Doit/Extcmd.pm
Criterion Covered Total %
branch 6 34 17.6


line true false branch
29 0 7 if (file_name_is_absolute($prog))
30 0 0 if ($^O eq 'MSWin32') { }
31 0 0 if -f $prog and -x $prog
32 0 0 if -f "$prog.bat" and -x "$prog.bat"
33 0 0 if -f "$prog.com" and -x "$prog.com"
34 0 0 if -f "$prog.exe" and -x "$prog.exe"
35 0 0 if -f "$prog.cmd" and -x "$prog.cmd"
37 0 0 if -f $prog and -x $prog
44 0 51 if ($^O eq 'MSWin32') { }
46 0 0 if -f "$_\\$prog" and -x "$_\\$prog"
47 0 0 if -f "$_\\$prog.bat" and -x "$_\\$prog.bat"
48 0 0 if -f "$_\\$prog.com" and -x "$_\\$prog.com"
49 0 0 if -f "$_\\$prog.exe" and -x "$_\\$prog.exe"
50 0 0 if -f "$_\\$prog.cmd" and -x "$_\\$prog.cmd"
52 4 47 if -x "$_/$prog" and not -d "$_/$prog"
64 0 7 if (eval { do { require File::Spec; defined &File::Spec::file_name_is_absolute } }) { }
70 0 7 if ($^O eq 'MSWin32') { }