Branch Coverage

blib/lib/Dancer/FileUtils.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
43 0 1 -e $path ? :
61 0 140 unless open my $fh, $mode, $filename
68 0 60 unless my $file = shift()
72 1 59 wantarray ? :
85 1 63 wantarray ? :
92 0 2547 unless my $path = shift()
110 0 0 if ($^O eq "cygwin")
112 0 0 unless @args
118 0 0 if $part
125 0 0 if ($slashes == 2) { }
143 0 3 unless close $fh
144 0 3 unless rename $filename, $file