Branch Coverage

blib/lib/File/Util/Tempdir.pm
Criterion Covered Total %
branch 16 26 61.5


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