blib/lib/App/Dest.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 47 | 64 | 73.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
297 | 1 | 0 | 4 | @$execute_stack and scalar grep({$_->{'type'} eq "deploy" if $_->{'action'} eq $action;} @$execute_stack) |
339 | 0 | 0 | 3 | @$execute_stack and scalar grep({$_->{'type'} eq "revert" if $_->{'action'} eq $action;} @$execute_stack) |
545 | 122 | 35 | 0 | $a and $a =~ m[/dest.wrap$]u |
18 | 110 | 29 | $b and $b =~ m[/dest.wrap$]u | |
548 | 0 | 0 | 17 | $a and $b |
633 | 2 | 19 | 9 | defined $nodes[0] and $nodes[0] eq ".dest" |
679 | 16 | 1 | 2 | $state->{$action}{'deployed'} and not $redeploy |
line | l | !l | condition |
---|---|---|---|
83 | 1 | 0 | $dir //= "" |
148 | 1 | 1 | $ext //= "" |
235 | 2 | 1 | $a ||= "" |
236 | 2 | 1 | $b ||= "" |
363 | 0 | 22 | $App::Dest::b->{'modified'} || 0 |
2 | 20 | $App::Dest::a->{'modified'} || 0 | |
401 | 0 | 1 | $__PACKAGE__::VERSION || 0 |
440 | 129 | 2 | $dir || '.' |
454 | 0 | 449 | $self->{'dir_depth'} || 0 |
449 | 0 | $dir || '.' | |
616 | 14 | 11 | $seen_action //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
238 | 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 | |
369 | 1 | 1 | 12 | $_->{'modified'} or $_->{'deployed'} |
477 | 258 | 3 | 0 | not defined $filter or index($action, $filter) > -1 |
545 | 0 | 45 | 112 | $a and $a =~ m[/dest.wrap$]u or $b and $b =~ m[/dest.wrap$]u |
682 | 8 | 1 | 1 | $state->{$action}{'deployed'} or $state->{$action}{'modified'} |