Condition Coverage

blib/lib/App/Git/Workflow/Pom.pm
Criterion Covered Total %
condition 24 43 55.8


and 3 conditions

line !l l&&!r l&&r condition
57 4 0 4 not %versions and $run < 10
64 0 11 0 not $run and $saved->{'old'}
65 11 0 0 $match and not $branch =~ /$match/
66 11 0 0 $skip and $skip =~ /$skip/
80 0 6 2 $saved and $saved->{'time'}
6 0 2 $saved and $saved->{'time'} and $saved->{'time'} == $current->{'time'}
124 4 8 0 $pom and $pom =~ /[.]json$/
130 4 8 0 $pom and $pom =~ /[.]ya?ml$/
136 7 3 2 !($xml =~ /\n/) && -f $xml

or 2 conditions

line l !l condition
43 0 4 $ENV{'GIT_WORKFLOW_MAX_AGE'} || $self->git->config('workflow.max-age') || 120
60 4 7 $settings->{'pom_versions'}{$branch} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
43 0 4 0 $self->{'MAX_AGE'} ||= 86400 * ($ENV{'GIT_WORKFLOW_MAX_AGE'} || $self->git->config('workflow.max-age') || 120)
55 4 0 0 !$settings->{'max_age'} || $settings->{'max_age'} == $max_age
96 0 0 6 $@ or not defined $numerical
149 2 1 0 $versions ||= $self->get_pom_versions($pom)