Branch Coverage

blib/lib/IO/Lambda/Loop/Select.pm
Criterion Covered Total %
branch 35 74 47.3


line true false branch
31 178 3 @{$self->{'timers'};} + keys(%{$$self{'items'};}) ? :
39 0 89 if $self->empty
42 0 89 if $nonblocking
49 100 28 if defined $_->[2] and !defined($t) || $t > $_->[2]
59 3 0 if defined $_->[2] and !defined($t) || $t > $_->[2]
63 0 10 if $DEBUG
64 10 0 if $max < $fileno
65 0 10 if not defined $min or $min > $fileno
67 87 2 if (defined $t) { }
0 2 elsif ($DEBUG) { }
69 40 47 if $t < 0
70 0 87 if $DEBUG
77 0 89 if $DEBUG
78 1 88 if ($n < 0)
79 1 0 if ($! == 4 or $! == 11) { }
81 0 1 if $DEBUG
84 0 0 if ($DEBUG > 1)
90 0 0 unless vec $h, $fd, 1
92 0 0 if select($v, $v, $v, 0) >= 0
106 45 83 $_->[2] <= $ct ? :
113 10 79 if ($n > 0) { }
121 56 10 unless $what
125 10 0 $_->[5] & $what ? :
131 10 0 unless @$bucket
142 0 0 defined $_->[2] && $_->[2] <= $ct ? :
148 0 0 unless @$bucket
162 0 10 unless defined $fileno
165 10 0 if $flags & 4
166 0 10 if $flags & 2
167 1 9 if $flags & 1
183 5 0 if defined $_->[0]
188 0 0 if defined $_->[0]
189 0 0 if @$bucket
206 0 0 if @$bucket
224 0 0 if $flags & 4
225 0 0 if $flags & 2
226 0 0 if $flags & 1