Branch Coverage

blib/lib/MCE/Shared/Condvar.pm
Criterion Covered Total %
branch 10 52 19.2


line true false branch
33 0 0 if $INC{'threads.pm'}
38 0 3 $_tid ? :
40 3 0 if ($_cv->{'_init_pid'} eq $_pid)
56 0 3 $_tid ? :
63 3 0 if $_reset_flg and $INC{'MCE/Shared/Server.pm'}
216 0 0 if exists $_function->{$key}
260 0 0 unless my $_CV = $_obj->{$_id}
261 0 0 unless exists $_CV->{'_cr_sock'}
263 0 0 if defined $_[1]
276 0 1 unless my $_CV = $_obj->{$_id}
277 0 1 unless exists $_CV->{'_cr_sock'}
279 0 1 if defined $_[1]
293 0 0 unless my $_CV = $_obj->{$_id}
294 0 0 unless exists $_CV->{'_cr_sock'}
295 0 0 unless $_timeout
297 0 0 if not &looks_like_number($_timeout) or $_timeout < 0
303 0 0 if $_timeout < "0.0003"
307 0 0 unless $_is_MSWin32
310 0 0 if $_is_MSWin32 and MCE::Util::_sock_ready($_CV->{'_cr_sock'}, $_timeout)
314 0 0 !$_is_MSWin32 ? :
317 0 0 unless $_is_MSWin32
319 0 0 if ($@)
320 0 0 unless $@ eq "alarm clock restart\n"
333 0 2 unless my $_CV = $_obj->{$_id}
334 0 2 unless exists $_CV->{'_cr_sock'}
339 0 2 if $_is_MSWin32