Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
88 14 0 8 defined $_[0] and $_[0] eq "MCE::Hobo"
105 15 0 0 $_tid and $MCE::_GMUTEX
118 15 0 0 $_tid and $MCE::_GMUTEX
135 22 0 0 $INC{'LWP/UserAgent.pm'} and not $INC{'Net/HTTP.pm'}
140 17 0 5 $mngd->{'on_finish'} and not $INC{'POSIX.pm'}
17 0 5 $mngd->{'on_finish'} and not $INC{'POSIX.pm'} and not $_is_MSWin32
176 70 0 0 not ref $_[0] and ref $_[1] eq "CODE"
178 70 0 0 not ref $func and length $func
70 0 0 not ref $func and length $func and index($func, ":") < 0
204 0 0 0 $max_workers and $list->len >= $max_workers
212 70 0 0 $_tid and $MCE::_GMUTEX
219 0 0 70 not $_is_MSWin32 and $] ge "5.010001"
282 58 0 0 $_tid and $MCE::_GMUTEX
296 0 0 0 ref $_[0] and ref $_[1]
307 0 10 0 defined $_[0] and $_[0] eq "MCE::Hobo"
312 10 0 0 $wrk_id == $$ and $self->{'MGR_ID'} eq "$$.$_tid"
341 0 0 7 defined $_[0] and $_[0] eq "MCE::Hobo"
565 0 0 1 exists $_LIST->{$pkg} and $_LIST->{$pkg}->len
579 0 0 4 exists $_LIST->{$pkg} and $_LIST->{$pkg}->len
588 0 0 0 defined $_[0] and $_[0] eq "MCE::Hobo"
686 3 9 0 not $_SELF->{'SIGNALED'} and keys %{$_LIST;}
692 12 0 0 $INC{'threads.pm'} and $_is_MSWin32
697 12 0 0 $posix_exit and not $_SELF->{'SIGNALED'}
12 0 0 $posix_exit and not $_SELF->{'SIGNALED'} and not $_is_MSWin32
708 0 10 0 exists $_LIST->{$pkg} and $_LIST->{$pkg}->len
722 0 0 0 $count and not $_is_MSWin32
759 49 0 0 $code > 100 and not $err
848 0 0 0 $delay && defined $lapse

or 2 conditions

line l !l condition
316 0 0 $exit_status || 0
462 0 0 $signal || 'INT'
474 5 0 $signal || 'INT'
650 0 0 $hobo_timeout || 0
654 0 11 $hobo_timeout || 0
751 0 49 pop() || ''
756 0 49 $? || 0

or 3 conditions

line l !l&&r !l&&!r condition
75 0 3 7 not $cpus =~ /^[\d\.]+$/ or $cpus < 1
127 0 0 22 $^S or $_tid
0 0 22 $^S or $_tid or $INC{'Mojo/IOLoop.pm'}
0 0 22 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'}
0 0 22 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'}
0 0 22 $^S or $_tid or $INC{'Mojo/IOLoop.pm'} or $INC{'Coro.pm'} or $INC{'LWP/UserAgent.pm'} or $INC{'stfl.pm'}
0 0 22 $^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 22 $^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 22 $^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 22 $^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 22 $^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 22 $^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 22 $^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 22 $^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'}
163 56 14 0 $$_MNGD{"$$.$_tid." . (caller())} || do { init(); $$_MNGD{"$$.$_tid." . (caller())} }
192 0 0 70 $max_workers or $self->{'IGNORE'}
527 17 0 0 $$_MNGD{"$$.$_tid." . (caller())} || do { init(); $$_MNGD{"$$.$_tid." . (caller())} }
590 0 0 0 $_SELF->{'PKG'} || do { my $mngd = $$_MNGD{"$$.$_tid." . (caller())} || do { init(); $$_MNGD{"$$.$_tid." . (caller())} }; $mngd->{'PKG'} }
648 0 0 11 $void_context or $_SELF->{'IGNORE'}
669 0 0 0 $timed_out or $mngd->{'on_finish'}
0 0 0 $timed_out or $mngd->{'on_finish'} or $INC{'MCE/Simple.pm'}