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
92 14 1 14 not ref $exp and $exp
15 4 10 not ref $exp and $exp and my($sym) = $exp =~ /^:(\w+)$/
135 20 43 1 $omcmd[0] and $omcmd[0] eq 'IPC::Run3::Shell'
141 83 1 134 &blessed($acmd[0]) && $acmd[0]->isa($OBJECT_PACKAGE)
170 1 4 167 defined $_ and &looks_like_number($_)
179 159 8 1 exists $opt{'stderr'} and $opt{'fail_on_stderr'}
181 152 14 1 $opt{'both'} and exists $opt{'stdout'}
183 152 13 1 $opt{'both'} and exists $opt{'stderr'}
185 152 12 1 $opt{'both'} and $opt{'fail_on_stderr'}
226 145 2 7 $opt{'fail_on_stderr'} and $err ne ''
147 2 5 $opt{'fail_on_stderr'} and $err ne '' and $err ne $/
268 586 3 9 &blessed($x) and overload::Overloaded($x)

or 3 conditions

line l !l&&r !l&&!r condition
150 34 11 173 exists $opt{'__TEST_OPT_A'} or exists $opt{'__TEST_OPT_B'}
238 4 123 15 $allow_exit eq 'ANY' or grep {$_ == $exitcode;} @$allow_exit
286 0 0 2 not $overload::VERSION or $overload::VERSION < 1.04