Branch Coverage

blib/lib/MCE/Channel.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
29 18 0 if ($] ge "5.008008" and not $INC{'PDL.pm'})
32 18 0 unless ($@)
35 18 0 if ($encoder_ver - $decoder_ver == 0)
42 0 18 if (not defined $freeze)
55 29 0 defined $argv{'impl'} ? :
60 0 29 if $impl eq "Mutex" and $^O eq "MSWin32"
61 0 29 if $impl eq "MutexFast" and $^O eq "MSWin32"
62 0 29 if $impl eq "Threads" and $^O eq "cygwin"
63 0 29 if $impl eq "ThreadsFast" and $^O eq "cygwin"
65 0 29 unless eval "require MCE::Channel::$impl; 1;"
75 0 0 if $INC{'threads.pm'}
79 0 19 $tid ? :
81 16 3 if ($self->{'init_pid'} and $self->{'init_pid'} eq $pid)
90 0 6 unless $_[0]{'impl'}
108 0 0 if $bytes
115 0 29 $tid ? :