Condition Coverage

blib/lib/MCE/Flow.pm
Criterion Covered Total %
condition 43 77 55.8


and 3 conditions

line !l l&&!r l&&r condition
100 0 0 0 defined $_pkg and $_id eq "${$}.$_tid"
110 0 6 23 defined $_[0] and $_[0] eq "MCE::Flow"
124 0 0 115 defined $_[0] and $_[0] eq "MCE::Flow"
127 0 33 36 $_MCE->{$_pkg} and $_MCE->{$_pkg}{'_init_pid'} eq "${$}.$_tid"
154 0 4 0 defined $_[0] and $_[0] eq "MCE::Flow"
175 0 2 2 defined $_file and ref $_file eq ""
2 0 2 defined $_file and ref $_file eq "" and $_file ne ""
203 0 2 0 defined $_[0] and $_[0] eq "MCE::Flow"
266 0 79 0 defined $_[0] and $_[0] eq "MCE::Flow"
329 75 0 4 @_ == 1 and $_r =~ /^(?:ARRAY|HASH|SCALAR|GLOB|FileHandle|IO::|Iterator::)/
335 0 20 59 exists $_p->{'max_workers'} and ref $_p->{'max_workers'} ne "ARRAY"
342 59 0 20 @_code > 1 and $_max_workers > 1
380 55 57 12 $_ eq "max_workers" and ref $_p->{'max_workers'} eq "ARRAY"
381 106 0 6 $_ eq "task_name" and ref $_p->{'task_name'} eq "ARRAY"
382 106 0 0 $_ eq "use_threads" and ref $_p->{'use_threads'} eq "ARRAY"
397 345 0 0 exists $_def->{$_pkg}{uc $_k} and not exists $_opts{$_k}
430 0 63 2 defined $_params->{$_pid} and exists $_params->{$_pid}{'sequence'}

or 2 conditions

line l !l condition
337 4 75 defined $_input_data or scalar @_

or 3 conditions

line l !l&&r !l&&!r condition
169 2 0 6 $_r eq "" or $_r eq "SCALAR"
2 2 4 $_r eq "" or $_r eq "SCALAR" or $_r =~ /^(?:GLOB|FileHandle|IO::)/
175 0 2 0 ref $_file eq "SCALAR" or ref($_file) =~ /^(?:GLOB|FileHandle|IO::)/
220 2 0 2 $_r eq "" or $_r =~ /^Math::/
2 0 2 $_r eq "" or $_r =~ /^Math::/ or $_r eq "HASH"
0 0 2 $_r eq "" or $_r =~ /^Math::/ or $_r eq "HASH" or $_r eq "ARRAY"
223 2 0 0 $_r eq "" or $_r =~ /^Math::/
298 81 0 18 not defined $_prev_c->{$_pid}[$_pos] or $_prev_c->{$_pid}[$_pos] != $_code[$_pos]