Branch Coverage

blib/lib/File/Util/Tempdir.pm
Criterion Covered Total %
branch 7 26 26.9


line true false branch
13 0 2 if ($^O eq 'MSWin32') { }
15 0 0 if defined $ENV{$_}
18 0 0 if -d $_
22 0 8 if defined $ENV{$_}
25 2 0 if -d $_
32 0 1 if ($^O eq 'MSWin32') { }
36 0 1 $ENV{'XDG_RUNTIME_DIR'} ? :
38 0 1 if $!
39 1 0 if $st[4] == $>
42 0 0 $i ? :
45 0 0 if (not @stsub) { }
0 0 elsif ($is_dir and $stsub[4] == $>) { }
46 0 0 unless mkdir $subdir, 448