Condition Coverage

blib/lib/Proc/Async.pm
Criterion Covered Total %
condition 29 38 76.3


and 3 conditions

line !l l&&!r l&&r condition
198 36 0 2 ref $_[0] and ref $_[0] eq 'ARRAY'
201 1 0 1 ref $_[0] && ref $_[0] eq 'HASH'
204 28 0 8 ref $_[-1] && ref $_[-1] eq 'HASH'
268 1 0 18 -e $dir && -d $dir

or 2 conditions

line l !l condition
243 74 0 $cfg->param('job.status') || 'unknown'

or 3 conditions

line l !l&&r !l&&!r condition
154 1 1 2 $$options{'ALLOW_SHELL'} or @$args > 1
227 1 0 6 $status eq 'completed' or $status eq 'terminated by request'
1 2 4 $status eq 'completed' or $status eq 'terminated by request' or $status eq 'terminated by error'
256 4 8 47 $status eq 'completed' || $status eq 'terminated by request' || $status eq 'terminated by error'
310 21 84 105 /^\.\.?$/ or -d $_
313 21 21 63 $file eq '___proc_async_stdout___' or $file eq '___proc_async_stderr___'
42 21 42 $file eq '___proc_async_stdout___' or $file eq '___proc_async_stderr___' or $file eq '___proc_async_status.cfg'
424 0 0 0 $Proc::Async::Config{'d_waitpid'} eq 'define' || $Proc::Async::Config{'d_wait4'} eq 'define'