Branch Coverage

blib/lib/Dist/Zilla/Plugin/PruneCruft.pm
Criterion Covered Total %
branch 24 36 66.6


line true false branch
56 1 3 if $file->name =~ /$exception/u
64 1 101 if $self->_dont_exclude_file($file)
65 3 98 if index($file->name, $self->zilla->name . "-") == 0
66 0 98 if $file->name =~ /\A\./u
67 2 96 if $file->name =~ /\A(?:Build|Makefile)\z/u
68 0 96 if $file->name eq "Makefile.old"
69 0 96 if $file->name =~ /\Ablib/u
70 0 96 if $file->name =~ /\.(?:o|bs)$/u
71 1 95 if $file->name =~ /\A_Inline/u
72 0 95 if $file->name eq "MYMETA.yml"
73 0 95 if $file->name eq "MYMETA.json"
74 0 95 if $file->name eq "pm_to_blib"
75 0 95 if substr($file->name, 0, 6) eq "_eumm/"
78 0 95 if substr($file->name, 0, 7) eq "fatlib/"
79 0 95 if substr($file->name, 0, 4) eq "tmp/"
81 95 0 if (my $file = $file->name =~ s/\.c$//ru)
83 0 905 if $other->name eq "$file.xs"
95 96 6 unless $self->exclude_file($file)