Branch Coverage

blib/lib/App/Git/Workflow/Pom.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
55 4 0 !$settings->{'max_age'} || $settings->{'max_age'} == $max_age ? :
64 0 11 if not $run and $saved->{'old'}
65 0 11 if $match and not $branch =~ /$match/
66 0 11 if $skip and $skip =~ /$skip/
68 3 8 unless my $current = eval {
71 0 8 if ($current->{'time'} < time - $max_age)
73 0 0 if $count++ % 20 == 0
80 2 6 if ($saved and $saved->{'time'} and $saved->{'time'} == $current->{'time'})
87 0 6 unless $xml
89 0 6 unless $xml
96 0 6 if ($@ or not defined $numerical)
111 3 3 if $count++ % 50 == 0
124 0 12 if ($pom and $pom =~ /[.]json$/)
127 0 0 unless (my $json = eval {
130 0 12 if ($pom and $pom =~ /[.]ya?ml$/)
136 2 10 !($xml =~ /\n/) && -f $xml ? :
139 9 11 if $elem->{'name'} ne "version"
152 0 3 unless %$versions