Branch Coverage

blib/lib/Mutex/Channel.pm
Criterion Covered Total %
branch 7 54 12.9


line true false branch
29 0 0 if $INC{'threads.pm'}
33 0 2 $tid ? :
35 0 2 if $obj->{$pid}
37 2 0 if ($obj->{'_init_pid'} eq $pid)
38 2 0 $use_pipe ? :
54 0 2 $tid ? :
55 0 2 if $is_MSWin32
57 2 0 $use_pipe ? :
67 0 0 $tid ? :
70 0 0 if $is_MSWin32
72 0 0 unless $obj->{$pid}
81 0 0 $tid ? :
84 0 0 if $obj->{$pid}
90 0 0 $tid ? :
93 0 0 unless ref $code eq "CODE"
97 0 0 if $is_MSWin32
99 0 0 unless $obj->{$pid}
102 0 0 wantarray ? :
0 0 defined wantarray ? :
107 0 0 wantarray ? :
115 0 0 unless defined $timeout
116 0 0 if not &looks_like_number($timeout) or $timeout < 0
119 0 0 if $timeout < "0.0003"
124 0 0 unless $is_MSWin32
127 0 0 if $is_MSWin32 and Mutex::Util::_sock_ready($obj->{'_r_sock'}, $timeout)
129 0 0 !$is_MSWin32 ? :
134 0 0 unless $is_MSWin32