Branch Coverage

blib/lib/IO/BindHandles.pm
Criterion Covered Total %
branch 22 40 55.0


line true false branch
15 0 3 if exists $options{'timeout'}
16 3 0 if defined $timeout
19 0 3 if ref $handles ne 'ARRAY'
20 0 3 if scalar @$handles & 1
44 0 0 if defined $self->timeout and $self->timeout == 0
57 3 11 unless $$_[0]->opened and $$_[1]->opened and not $$_[0]->error and not $$_[1]->error
78 11 0 if $_->opened
79 11 0 if $$_[1]->opened
88 3 0 if $_->opened
106 5 2 if ($r_r and scalar @$r_r)
113 3 2 if (defined $num_read and $num_read > 0) { }
120 1 1 unless $$h_desc[2]
125 3 4 if ($r_w and scalar @$r_w)
131 3 0 if (defined $num_write and $num_write >= 0) { }
141 0 7 if ($e and scalar @$e)
144 0 0 unless $$_[1] eq $h
148 0 0 unless ($h eq $$h_desc[0] and $$h_desc[2])
157 2 0 if (exists $$h[3] and $$h[3] and not $$h[2])
159 2 0 unless grep {$$_[0] eq $$h[1];} @{$$self{'handles'};}
170 0 7 if @_