Condition Coverage

blib/lib/IPC/Run3/Shell.pm
Criterion Covered Total %
condition 40 42 95.2


and 3 conditions

line !l l&&!r l&&r condition
85 14 1 12 not ref $exp and $exp
15 4 8 not ref $exp and $exp and my($sym) = $exp =~ /^:(\w+)$/
119 17 35 1 $omcmd[0] and $omcmd[0] eq 'IPC::Run3::Shell'
125 71 1 116 blessed($acmd[0]) && $acmd[0]->isa($OBJECT_PACKAGE)
159 132 7 1 exists $opt{'stderr'} and $opt{'fail_on_stderr'}
161 127 11 1 $opt{'both'} and exists $opt{'stdout'}
163 127 10 1 $opt{'both'} and exists $opt{'stderr'}
165 127 9 1 $opt{'both'} and $opt{'fail_on_stderr'}
206 117 2 7 $opt{'fail_on_stderr'} and $err ne ''
119 2 5 $opt{'fail_on_stderr'} and $err ne '' and $err ne $/
246 442 3 9 blessed $x and overload::Overloaded($x)

or 3 conditions

line l !l&&r !l&&!r condition
134 34 11 143 exists $opt{'__TEST_OPT_A'} or exists $opt{'__TEST_OPT_B'}
219 4 96 14 $allow_exit eq 'ANY' or grep {$_ == $exitcode;} @$allow_exit
264 0 0 2 not $overload::VERSION or $overload::VERSION < 1.04