| blib/lib/Dist/Zilla/Plugin/NextVersion/Semantic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 22 | 63.6 |
| line | true | false | branch |
|---|---|---|---|
| 94 | 1 | 0 | unless @changes |
| 118 | 0 | 0 | unless open my $out_fh, '>', $filename |
| 123 | 0 | 0 | unless close $out_fh |
| 160 | 1 | 7 | if exists $ENV{'V'} |
| 173 | 1 | 5 | if $self->numify_version |
| 183 | 0 | 6 | unless my($changes_file) = grep({$_->name eq $self->change_file;} @{$self->zilla->files;}) |
| 213 | 0 | 7 | unless $file |
| 257 | 22 | 3 | if (my $previous = $self->previous_version) |
| 263 | 0 | 22 | unless @version = $previous =~ /$regex/ |
| 275 | 2 | 23 | if (&any(sub { |
| 283 | 1 | 37 | if (length $version[$i] > $sizes[$i]) |