blib/lib/App/Git/Workflow/Command/Pom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 22 | 36.3 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 3 | unless $option{'pom'} ||= $workflow->config("workflow.pom", "pom.xml"), get_options(\%option, "pom|package|P=s", "update|u!", "skip|s=s", "match|m=s", "fetch|f!", "tag|t=s", "branch|b=s", "local|l!") |
39 | 2 | 1 | @ARGV ? : |
42 | 0 | 3 | unless ($self->can($sub_command)) |
52 | 3 | 0 | if $option{'fetch'} |
65 | 1 | 1 | if (not $versions->{$numerical} or keys %{$$versions{$numerical};} <= 1) { } |
83 | 0 | 1 | if ($option{'update'}) |
93 | 0 | 0 | unless ($version) |
103 | 0 | 0 | $version =~ /^\d+[.]\d+[.]\d+/ ? : |
122 | 0 | 0 | if ($current->{'time'} < time - $max_age) |
128 | 0 | 0 | unless $xml |
135 | 0 | 0 | if ($@) |