Condition Coverage

blib/lib/IPC/Run3/Shell.pm
Criterion Covered Total %
condition 43 45 95.5


and 3 conditions

line !l l&&!r l&&r condition
85 14 1 14 not ref $exp and $exp
15 4 10 not ref $exp and $exp and my($sym) = $exp =~ /^:(\w+)$/
128 18 36 1 $omcmd[0] and $omcmd[0] eq 'IPC::Run3::Shell'
134 73 1 116 &blessed($acmd[0]) && $acmd[0]->isa($OBJECT_PACKAGE)
160 1 4 141 defined $_ and &looks_like_number($_)
169 134 7 1 exists $opt{'stderr'} and $opt{'fail_on_stderr'}
171 129 11 1 $opt{'both'} and exists $opt{'stdout'}
173 129 10 1 $opt{'both'} and exists $opt{'stderr'}
175 129 9 1 $opt{'both'} and $opt{'fail_on_stderr'}
216 119 2 7 $opt{'fail_on_stderr'} and $err ne ''
121 2 5 $opt{'fail_on_stderr'} and $err ne '' and $err ne $/
255 448 3 9 &blessed($x) and overload::Overloaded($x)

or 3 conditions

line l !l&&r !l&&!r condition
143 34 11 145 exists $opt{'__TEST_OPT_A'} or exists $opt{'__TEST_OPT_B'}
228 4 97 15 $allow_exit eq 'ANY' or grep {$_ == $exitcode;} @$allow_exit
273 0 0 2 not $overload::VERSION or $overload::VERSION < 1.04