Condition Coverage

blib/lib/App/Dest.pm
Criterion Covered Total %
condition 48 64 75.0


and 3 conditions

line !l l&&!r l&&r condition
305 1 0 4 @$execute_stack and scalar grep({$_->{'type'} eq "deploy" if $_->{'action'} eq $action;} @$execute_stack)
347 0 0 3 @$execute_stack and scalar grep({$_->{'type'} eq "revert" if $_->{'action'} eq $action;} @$execute_stack)
553 122 35 0 $a and $a =~ m[/dest.wrap$]u
18 110 29 $b and $b =~ m[/dest.wrap$]u
556 0 0 17 $a and $b
641 2 19 9 defined $nodes[0] and $nodes[0] eq ".dest"
687 16 1 2 $state->{$action}{'deployed'} and not $redeploy

or 2 conditions

line l !l condition
84 1 0 $dir //= ""
151 1 1 $ext //= ""
238 2 1 $a ||= ""
239 2 1 $b ||= ""
371 1 19 $App::Dest::b->{'modified'} || 0
1 19 $App::Dest::a->{'modified'} || 0
409 0 2 $__PACKAGE__::VERSION || 0
448 129 2 $dir || '.'
462 0 450 $self->{'dir_depth'} || 0
450 0 $dir || '.'
624 14 11 $seen_action //= {}

or 3 conditions

line l !l&&r !l&&!r condition
241 0 0 3 $a =~ m[/dest.wrap$]u or $b =~ m[/dest.wrap$]u
0 2 1 $a =~ m[/dest.wrap$]u or $b =~ m[/dest.wrap$]u or not -f $a
2 0 1 $a =~ m[/dest.wrap$]u or $b =~ m[/dest.wrap$]u or not -f $a or not -f $b
377 1 1 12 $_->{'modified'} or $_->{'deployed'}
485 258 3 0 not defined $filter or index($action, $filter) != -1
553 0 45 112 $a and $a =~ m[/dest.wrap$]u or $b and $b =~ m[/dest.wrap$]u
690 8 1 1 $state->{$action}{'deployed'} or $state->{$action}{'modified'}