Branch Coverage

blib/lib/MCE/Shared/Condvar.pm
Criterion Covered Total %
branch 23 52 44.2


line true false branch
33 0 0 if $INC{'threads.pm'}
38 0 6 $_tid ? :
40 6 0 if ($_cv->{'_init_pid'} eq $_pid)
56 0 6 $_tid ? :
63 6 0 if $_reset_flg and $INC{'MCE/Shared/Server.pm'}
212 0 0 if exists $_function->{$key}
256 0 1 unless my $_CV = $_obj->{$_id}
257 0 1 unless exists $_CV->{'_cr_sock'}
259 0 1 if defined $_[1]
272 0 1 unless my $_CV = $_obj->{$_id}
273 0 1 unless exists $_CV->{'_cr_sock'}
275 0 1 if defined $_[1]
289 0 2 unless my $_CV = $_obj->{$_id}
290 0 2 unless exists $_CV->{'_cr_sock'}
291 0 2 unless $_timeout
293 0 2 if not &looks_like_number($_timeout) or $_timeout < 0
299 0 2 if $_timeout < "0.0003"
303 2 0 unless $_is_MSWin32
306 0 2 if $_is_MSWin32 and MCE::Util::_sock_ready($_CV->{'_cr_sock'}, $_timeout)
310 2 0 !$_is_MSWin32 ? :
313 2 0 unless $_is_MSWin32
315 0 2 if ($@)
316 0 0 unless $@ eq "alarm clock restart\n"
329 0 6 unless my $_CV = $_obj->{$_id}
330 0 6 unless exists $_CV->{'_cr_sock'}
335 0 6 if $_is_MSWin32