Branch Coverage

blib/lib/Dist/Zilla/Plugin/Alt.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
22 1 1 if (my $file = &first(sub {
1 0 elsif ($file = &first(sub {
52 1 0 if ($content =~ s/^WriteMakefile/${extra}WriteMakefile/mu) { }
80 1 0 if ($content =~ s/^(my \$build =)/$extra . "\n" . $1;/emu) { }
107 0 2 unless -d 'lib/Alt'
109 6 2 unless -f $_
110 0 2 unless @files
111 0 2 if @files > 1