Condition Coverage

blib/lib/MCE/Grep.pm
Criterion Covered Total %
condition 24 55 43.6


and 3 conditions

line !l l&&!r l&&r condition
115 0 0 3 defined $_[0] and $_[0] eq "MCE::Grep"
130 0 0 7 defined $_[0] and $_[0] eq "MCE::Grep"
133 0 2 1 $_MCE->{$_pkg} and $_MCE->{$_pkg}{'_init_pid'} eq "$$.$_tid"
157 0 2 0 defined $_[0] and $_[0] eq "MCE::Grep"
170 0 1 1 defined $_file and ref $_file eq ""
1 0 1 defined $_file and ref $_file eq "" and $_file ne ""
196 0 1 0 defined $_[0] and $_[0] eq "MCE::Grep"
216 0 0 0 @{$_[0];} > 3 and $_[0][3] =~ /\d$/
226 1 0 0 @_ > 3 and $_[3] =~ /\d$/
259 0 7 0 defined $_[0] and $_[0] eq "MCE::Grep"
268 6 0 1 @_ == 1 and $_r =~ /^(?:ARRAY|HASH|SCALAR|CODE|GLOB|FileHandle|IO::)/
378 15 0 0 exists $_def->{$_pkg}{uc $_k} and not exists $_opts{$_k}
404 0 0 1 defined $_params->{$_pid} and exists $_params->{$_pid}{'sequence'}

or 2 conditions

line l !l condition
278 1 6 defined $_input_data or scalar @_
287 7 0 $_params->{$_pid} || {}

or 3 conditions

line l !l&&r !l&&!r condition
170 0 1 0 ref $_file eq "SCALAR" or ref($_file) =~ /^(?:GLOB|FileHandle|IO::)/
211 1 0 0 ref $_[0] eq "" or ref($_[0]) =~ /^Math::/
290 0 0 7 defined $_p->{'init_relay'} || defined $_def->{$_pkg}{'INIT_RELAY'}
307 3 0 4 not defined $_prev_c->{$_pid} or $_prev_c->{$_pid} != $_code