| blib/lib/Module/Release/Git.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 20 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 74 | 4 | 2 | unless $up_to_date |
| 125 | 9 | 8 | if ($self->config->allowed_branches) { } |
| 8 | 0 | elsif ($self->config->allowed_branches_regex) { } | |
| 0 | 0 | elsif ($branch eq 'master' or $branch eq 'main') { } | |
| 151 | 9 | 0 | unless $self->config->git_default_tag |
| 165 | 0 | 9 | defined $tag_format ? : |
| 169 | 3 | 6 | unless (defined $version) |
| 187 | 3 | 5 | if $branch |
| 235 | 0 | 0 | unless defined $tag |
| 259 | 0 | 5 | unless defined $tag |