Condition Coverage

blib/lib/MCE/Flow.pm
Criterion Covered Total %
condition 43 74 58.1


and 3 conditions

line !l l&&!r l&&r condition
99 0 6 23 defined $_[0] and $_[0] eq "MCE::Flow"
111 0 0 101 defined $_[0] and $_[0] eq "MCE::Flow"
114 0 29 35 $_MCE->{$_pkg} and $_MCE->{$_pkg}{'_init_pid'} eq "$$.$_tid"
141 0 4 0 defined $_[0] and $_[0] eq "MCE::Flow"
162 0 2 2 defined $_file and ref $_file eq ""
2 0 2 defined $_file and ref $_file eq "" and $_file ne ""
190 0 2 0 defined $_[0] and $_[0] eq "MCE::Flow"
253 0 74 0 defined $_[0] and $_[0] eq "MCE::Flow"
316 70 0 4 @_ == 1 and $_r =~ /^(?:ARRAY|HASH|SCALAR|GLOB|FileHandle|IO::)/
322 0 20 54 exists $_p->{'max_workers'} and ref $_p->{'max_workers'} ne "ARRAY"
329 54 0 20 @_code > 1 and $_max_workers > 1
367 50 52 12 $_ eq "max_workers" and ref $_p->{'max_workers'} eq "ARRAY"
368 96 0 6 $_ eq "task_name" and ref $_p->{'task_name'} eq "ARRAY"
369 96 0 0 $_ eq "use_threads" and ref $_p->{'use_threads'} eq "ARRAY"
384 320 0 0 exists $_def->{$_pkg}{uc $_k} and not exists $_opts{$_k}
417 0 58 2 defined $_params->{$_pid} and exists $_params->{$_pid}{'sequence'}

or 2 conditions

line l !l condition
324 4 70 defined $_input_data or scalar @_

or 3 conditions

line l !l&&r !l&&!r condition
156 2 0 6 $_r eq "" or $_r eq "SCALAR"
2 2 4 $_r eq "" or $_r eq "SCALAR" or $_r =~ /^(?:GLOB|FileHandle|IO::)/
162 0 2 0 ref $_file eq "SCALAR" or ref($_file) =~ /^(?:GLOB|FileHandle|IO::)/
207 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"
210 2 0 0 $_r eq "" or $_r =~ /^Math::/
285 76 0 18 not defined $_prev_c->{$_pid}[$_pos] or $_prev_c->{$_pid}[$_pos] != $_code[$_pos]