Branch Coverage

blib/lib/App/Framework/Feature/Run.pm
Criterion Covered Total %
branch 45 70 64.2


line true false branch
410 19 15 if ($new_required_href)
420 18 1 if ($throw)
425 1 2 unless ($required_href->{$exe})
431 1 17 if ($error)
503 7 15 if (@args == 1) { }
2 13 elsif (@args == 2) { }
509 2 0 if ($args[0] ne 'cmd') { }
526 7 15 unless %args
530 15 0 if ($app)
542 29 391 if exists $args{$key}
549 0 15 if exists $args{$key}
551 0 15 if keys %set
557 0 15 unless $cmd
562 0 15 if (defined $nice)
587 2 3 if $logging and $logopts_href->{'all'} || $logopts_href->{'cmd'}
592 0 15 if ($local{'dryrun'}) { }
595 0 0 $timeout ? :
602 4 11 if (defined $timeout) { }
619 2 3 if $logging and $logopts_href->{'all'} || $logopts_href->{'results'}
620 2 3 if $logging and $logopts_href->{'all'} || $logopts_href->{'status'}
624 0 15 if ($throw and $rc)
714 15 0 unless ($args and $args =~ /\>/)
745 2 9 if (defined $progress)
797 0 4 unless $pid = open(my $proc, "$cmd $args |")
807 10 0 if (defined $progress)
813 0 10 if (time > $endtime)
821 0 4 if $this->debug
823 0 4 if ($@)
826 0 0 if ($@ eq "timeout\n") { }
828 0 0 if $this->debug
834 0 0 if $this->debug
842 0 4 if $this->debug
862 0 15 if (defined $check_results)
882 18 16 if ($on_error ne 'status')
885 0 18 if ($on_error =~ /warn/i)