Branch Coverage

blib/lib/Dist/Zilla/Plugin/CoderwallEndorse.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
62 0 1 unless my($file) = grep({$_->name eq $filename;} @{$self->zilla->files;})
72 1 0 unless $file->does("Dist::Zilla::Role::File::ChangeNotification")
84 0 0 if $newcontent eq $plugin->_last_content
101 5 2 if ($line =~ /^# AUTHOR/ ... $line =~ /^#/)
105 8 2 if index($line, $auth) == -1 or index($line, "[endorse]") != -1