Condition Coverage

blib/lib/MCE/Loop.pm
Criterion Covered Total %
condition 22 53 41.5


and 3 conditions

line !l l&&!r l&&r condition
98 0 0 0 defined $_pkg and $_id eq "${$}.$_tid"
108 0 0 6 defined $_[0] and $_[0] eq "MCE::Loop"
122 0 0 11 defined $_[0] and $_[0] eq "MCE::Loop"
125 0 3 3 $_MCE->{$_pkg} and $_MCE->{$_pkg}{'_init_pid'} eq "${$}.$_tid"
148 0 4 0 defined $_[0] and $_[0] eq "MCE::Loop"
161 0 2 2 defined $_file and ref $_file eq ""
2 0 2 defined $_file and ref $_file eq "" and $_file ne ""
187 0 2 0 defined $_[0] and $_[0] eq "MCE::Loop"
207 0 0 0 @{$_[0];} > 3 and $_[0][3] =~ /\d$/
217 2 0 0 @_ > 3 and $_[3] =~ /\d$/
250 0 14 0 defined $_[0] and $_[0] eq "MCE::Loop"
259 10 0 4 @_ == 1 and $_r =~ /^(?:ARRAY|HASH|SCALAR|CODE|GLOB|FileHandle|IO::|Iterator::)/
313 30 0 0 exists $_def->{$_pkg}{uc $_k} and not exists $_opts{$_k}
333 0 0 2 defined $_params->{$_pid} and exists $_params->{$_pid}{'sequence'}

or 2 conditions

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

or 3 conditions

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