Branch Coverage

blib/lib/IO/Mux/Select.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
46 2 1 if ($h->isa('IO::Mux::Handle')) { }
60 1 2 if ($h->isa('IO::Mux::Handle')) { }
1 1 elsif ($this->_get_select->exists($h)) { }
74 3 2 if ($h->isa('IO::Mux::Handle')) { }
108 2 15 if (eof $h or $h->_get_tie->_get_buffer->get_length > 0)
113 2 13 if (scalar @ready)
125 12 2 unless (exists $mux_objects{$rh})
136 9 4 if (scalar @ready)
142 6 4 if ($mux_data) { }
147 2 5 if (not defined $p && $p) { }
151 2 0 unless ($ready{$mh})
160 0 5 unless defined $mh
161 5 0 unless ($ready{$mh})
163 1 4 if ($p->is_eof)