Branch Coverage

blib/lib/Dist/Zilla/Plugin/GitVersionCheckCJM.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
53 10 8 unless defined $result
67 36 0 /^v?([\d._]+)$/ ? :
83 5 19 if $self->munge_file($file, $git, \%modified, \%released)
86 5 3 if $errors
101 1 24 unless my $version = $pm_info->version
108 11 13 if ($version == $distver)
109 7 4 unless $releasedRef->{$version}
113 1 16 if ($version > $distver)
120 0 16 if ($self->single_version and $version < $distver)
127 3 13 if ($modifiedRef->{$pmFile})
128 1 2 if ($version == $distver) { }
138 1 12 unless ($releasedRef->{$version})
152 12 0 if $inRelease =~ m[ tags/\Q$version\E]
154 0 0 if ($version == $distver) { }