Branch Coverage

blib/lib/App/Git/Workflow/Command/Pom.pm
Criterion Covered Total %
branch 8 22 36.3


line true false branch
29 0 3 unless get_options(\%option, "pom|P=s", "update|u!", "skip|s=s", "match|m=s", "fetch|f!", "tag|t=s", "branch|b=s", "local|l!")
40 2 1 @ARGV ? :
43 0 3 unless ($self->can($sub_command))
53 3 0 if $option{'fetch'}
66 1 1 if (not $versions->{$numerical} or keys %{$$versions{$numerical};} <= 1) { }
84 0 1 if ($option{'update'})
94 0 0 unless ($version)
104 0 0 $version =~ /^\d+[.]\d+[.]\d+/ ? :
123 0 0 if ($current->{'time'} < time - $max_age)
129 0 0 unless $xml
136 0 0 if ($@)