Branch Coverage

blib/lib/Mutex/Channel.pm
Criterion Covered Total %
branch 7 58 12.0


line true false branch
29 0 0 if $INC{'threads.pm'}
34 0 0 if $obj->{$pid}
40 0 2 $tid ? :
41 0 2 if $obj->{$pid}
43 2 0 if ($obj->{'_init_pid'} eq $pid)
44 2 0 $use_pipe ? :
60 0 2 $tid ? :
61 0 2 if $is_MSWin32
63 2 0 $use_pipe ? :
73 0 0 $tid ? :
75 0 0 unless ($obj->{$pid})
77 0 0 if $is_MSWin32
86 0 0 $tid ? :
93 0 0 $tid ? :
96 0 0 if $obj->{$pid}
102 0 0 $tid ? :
105 0 0 unless ref $code eq "CODE"
109 0 0 unless ($obj->{$pid})
111 0 0 if $is_MSWin32
115 0 0 wantarray ? :
0 0 defined wantarray ? :
118 0 0 wantarray ? :
126 0 0 unless defined $timeout
127 0 0 if not &looks_like_number($timeout) or $timeout < 0
130 0 0 if $timeout < "0.0003"
135 0 0 unless $is_MSWin32
138 0 0 if $is_MSWin32 and Mutex::Util::_sock_ready($obj->{'_r_sock'}, $timeout)
140 0 0 !$is_MSWin32 ? :
145 0 0 unless $is_MSWin32