blib/lib/Test/UnixCmdWrap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
42 | 2 | 2 | if (exists $args->{'cmd'} and not ref $args->{'cmd'}) |
48 | 0 | 4 | if ($ENV{'DEVEL_COVER'}) |
65 | 3 | 5 | exists $p{'args'} ? : |
69 | 4 | 20 | exists $p{$_} ? : |
79 | 1 | 7 | if $p{'munge_status'} |
85 | 1 | 7 | if (ref $p{'stdout'} eq 'ARRAY') { } |
89 | 1 | 6 | unless &ok(scalar $cmd->stdout =~ /$p{'stdout'}/u, "STDOUT " . $name) |
92 | 1 | 7 | unless &ok(scalar $cmd->stderr =~ /$p{'stderr'}/u, "STDERR " . $name) |