Branch Coverage

blib/lib/Dist/Zilla/Plugin/Git/FilePermissions.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
42 0 5 unless @files
52 5 25 unless -f $file
61 15 4 unless $file =~ /$regex/
67 1 24 if ($perm eq "-")
74 14 10 if ($current_perm != $perm)
78 0 14 if ($rc != 1)
94 0 5 if $files_f->is_failed
109 0 4 unless (defined $perm)
113 1 3 $perm eq '-' ? :