Condition Coverage

blib/lib/MCE/Child.pm
Criterion Covered Total %
condition 51 161 31.6


and 3 conditions

line !l l&&!r l&&r condition
83 11 0 8 defined $_[0] and $_[0] eq "MCE::Child"
100 12 0 0 $_tid and $MCE::_GMUTEX
113 12 0 0 $_tid and $MCE::_GMUTEX
130 19 0 0 $INC{'LWP/UserAgent.pm'} and not $INC{'Net/HTTP.pm'}
135 14 0 5 $mngd->{'on_finish'} and not $INC{'POSIX.pm'}
14 0 5 $mngd->{'on_finish'} and not $INC{'POSIX.pm'} and not $_is_MSWin32
171 65 0 0 not ref $_[0] and ref $_[1] eq "CODE"
173 65 0 0 not ref $func and length $func
65 0 0 not ref $func and length $func and index($func, ":") < 0
197 0 0 0 $max_workers and $list->len >= $max_workers
205 65 0 0 $_tid and $MCE::_GMUTEX
212 0 0 65 not $_is_MSWin32 and $] ge "5.010001"
275 55 0 0 $_tid and $MCE::_GMUTEX
289 0 0 0 ref $_[0] and ref $_[1]
300 0 10 0 defined $_[0] and $_[0] eq "MCE::Child"
305 10 0 0 $wrk_id == $$ and $self->{'MGR_ID'} eq "$$.$_tid"
334 0 0 26 defined $_[0] and $_[0] eq "MCE::Child"
545 0 0 1 exists $_LIST->{$pkg} and $_LIST->{$pkg}->len
559 0 0 4 exists $_LIST->{$pkg} and $_LIST->{$pkg}->len
568 0 0 0 defined $_[0] and $_[0] eq "MCE::Child"
666 3 7 0 not $_SELF->{'SIGNALED'} and keys %{$_LIST;}
672 10 0 0 $INC{'threads.pm'} and $_is_MSWin32
677 10 0 0 $posix_exit and not $_SELF->{'SIGNALED'}
10 0 0 $posix_exit and not $_SELF->{'SIGNALED'} and not $_is_MSWin32
688 0 9 0 exists $_LIST->{$pkg} and $_LIST->{$pkg}->len
702 0 0 0 $count and not $_is_MSWin32
739 47 0 0 $code > 100 and not $err
829 0 0 0 $delay && defined $lapse

or 2 conditions

line l !l condition
309 0 0 $exit_status || 0
438 0 0 $signal || 'INT'
450 5 0 $signal || 'INT'
630 0 0 $child_timeout || 0
634 0 9 $child_timeout || 0
731 0 47 pop() || ''
736 0 47 $? || 0

or 3 conditions

line l !l&&r !l&&!r condition
70 0 3 7 not $cpus =~ /^[\d\.]+$/ or $cpus < 1
122 0 0 19 $^S or $_tid
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'} or $INC{'FCGI.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'} or $INC{'FCGI.pm'} or $INC{'Tk.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'} or $INC{'FCGI.pm'} or $INC{'Tk.pm'} or $INC{'Wx.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'} or $INC{'FCGI.pm'} or $INC{'Tk.pm'} or $INC{'Wx.pm'} or $INC{'Win32/GUI.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'} or $INC{'FCGI.pm'} or $INC{'Tk.pm'} or $INC{'Wx.pm'} or $INC{'Win32/GUI.pm'} or $INC{'Gearman/Util.pm'}
0 0 19 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'} or $INC{'Curses.pm'} or $INC{'CGI.pm'} or $INC{'FCGI.pm'} or $INC{'Tk.pm'} or $INC{'Wx.pm'} or $INC{'Win32/GUI.pm'} or $INC{'Gearman/Util.pm'} or $INC{'Gearman/XS.pm'}
158 54 11 0 $$_MNGD{"$$.$_tid." . (caller())} || do { init(); $$_MNGD{"$$.$_tid." . (caller())} }
195 0 0 65 $max_workers or $self->{'IGNORE'}
507 17 0 0 $$_MNGD{"$$.$_tid." . (caller())} || do { init(); $$_MNGD{"$$.$_tid." . (caller())} }
570 0 0 0 $_SELF->{'PKG'} || do { my $mngd = $$_MNGD{"$$.$_tid." . (caller())} || do { init(); $$_MNGD{"$$.$_tid." . (caller())} }; $mngd->{'PKG'} }
628 0 0 9 $void_context or $_SELF->{'IGNORE'}
649 0 0 0 $timed_out or $mngd->{'on_finish'}
0 0 0 $timed_out or $mngd->{'on_finish'} or $INC{'MCE/Simple.pm'}