Branch Coverage

blib/lib/Mutex/Channel.pm
Criterion Covered Total %
branch 6 52 11.5


line true false branch
26 0 0 if $INC{'threads.pm'}
30 0 2 $tid ? :
32 0 2 if $obj->{$pid}
34 2 0 if ($obj->{'_init_pid'} eq $pid)
35 2 0 $use_pipe ? :
51 0 2 $tid ? :
53 2 0 $use_pipe ? :
63 0 0 $tid ? :
65 0 0 if $is_MSWin32
67 0 0 unless $obj->{$pid}
76 0 0 $tid ? :
79 0 0 if $obj->{$pid}
85 0 0 $tid ? :
88 0 0 unless ref $code eq "CODE"
91 0 0 if $is_MSWin32
93 0 0 unless $obj->{$pid}
96 0 0 wantarray ? :
0 0 defined wantarray ? :
101 0 0 wantarray ? :
109 0 0 unless defined $timeout
110 0 0 if not &looks_like_number($timeout) or $timeout < 0
113 0 0 if $timeout < "0.0003"
118 0 0 unless $is_MSWin32
121 0 0 if $is_MSWin32 and Mutex::Util::_sock_ready($obj->{'_r_sock'}, $timeout)
123 0 0 !$is_MSWin32 ? :
128 0 0 unless $is_MSWin32