Condition Coverage

blib/lib/MCE/Loop.pm
Criterion Covered Total %
condition 22 50 44.0


and 3 conditions

line !l l&&!r l&&r condition
97 0 0 6 defined $_[0] and $_[0] eq "MCE::Loop"
109 0 0 11 defined $_[0] and $_[0] eq "MCE::Loop"
112 0 3 3 $_MCE->{$_pkg} and $_MCE->{$_pkg}{'_init_pid'} eq "$$.$_tid"
135 0 4 0 defined $_[0] and $_[0] eq "MCE::Loop"
148 0 2 2 defined $_file and ref $_file eq ""
2 0 2 defined $_file and ref $_file eq "" and $_file ne ""
174 0 2 0 defined $_[0] and $_[0] eq "MCE::Loop"
194 0 0 0 @{$_[0];} > 3 and $_[0][3] =~ /\d$/
204 2 0 0 @_ > 3 and $_[3] =~ /\d$/
237 0 14 0 defined $_[0] and $_[0] eq "MCE::Loop"
246 10 0 4 @_ == 1 and $_r =~ /^(?:ARRAY|HASH|SCALAR|CODE|GLOB|FileHandle|IO::)/
300 30 0 0 exists $_def->{$_pkg}{uc $_k} and not exists $_opts{$_k}
320 0 0 2 defined $_params->{$_pid} and exists $_params->{$_pid}{'sequence'}

or 2 conditions

line l !l condition
254 4 10 defined $_input_data or scalar @_

or 3 conditions

line l !l&&r !l&&!r condition
148 0 2 0 ref $_file eq "SCALAR" or ref($_file) =~ /^(?:GLOB|FileHandle|IO::)/
189 2 0 0 ref $_[0] eq "" or ref($_[0]) =~ /^Math::/
276 6 0 8 not defined $_prev_c->{$_pid} or $_prev_c->{$_pid} != $_code