Branch Coverage

blib/lib/MCE/Mutex/Channel2.pm
Criterion Covered Total %
branch 10 48 20.8


line true false branch
28 0 0 if $INC{'threads.pm'}
39 0 30 $tid ? :
40 0 30 if $is_MSWin32
41 0 30 if $is_MSWin32
49 1 29 unless ((caller) =~ /^MCE:?/ and caller(1) =~ /^MCE:?/)
57 0 94 $tid ? :
60 0 94 if $is_MSWin32
62 94 0 unless $$obj{$pid . "b"}
71 0 94 $tid ? :
74 94 0 if $$obj{$pid . "b"}
80 0 0 $tid ? :
83 0 0 unless ref $code eq "CODE"
87 0 0 if $is_MSWin32
89 0 0 unless $$obj{$pid . "b"}
92 0 0 wantarray ? :
0 0 defined wantarray ? :
97 0 0 wantarray ? :
105 0 0 unless defined $timeout
106 0 0 if not &looks_like_number($timeout) or $timeout < 0
109 0 0 if $timeout < "0.0003"
114 0 0 unless $is_MSWin32
117 0 0 if $is_MSWin32 and MCE::Util::_sock_ready($obj->{'_w_sock'}, $timeout)
119 0 0 !$is_MSWin32 ? :
124 0 0 unless $is_MSWin32