Branch Coverage

blib/lib/IO/Lambda/Loop/Select.pm
Criterion Covered Total %
branch 52 74 70.2


line true false branch
31 436 484748 @{$self->{'timers'};} + keys(%{$$self{'items'};}) ? :
39 0 218 if $self->empty
42 0 218 if $nonblocking
49 108 28 if defined $_->[2] and !defined($t) || $t > $_->[2]
59 24 6 if defined $_->[2] and !defined($t) || $t > $_->[2]
63 0 251 if $DEBUG
64 180 71 if $max < $fileno
65 0 251 if not defined $min or $min > $fileno
67 110 108 if (defined $t) { }
0 108 elsif ($DEBUG) { }
69 43 67 if $t < 0
70 0 110 if $DEBUG
77 0 218 if $DEBUG
78 1 217 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 47 89 $_->[2] <= $ct ? :
113 133 85 if ($n > 0) { }
121 1216 177 unless $what
125 177 0 $_->[5] & $what ? :
131 177 0 unless @$bucket
142 1 7 defined $_->[2] && $_->[2] <= $ct ? :
148 1 7 unless @$bucket
162 0 183 unless defined $fileno
165 155 28 if $flags & 4
166 28 155 if $flags & 2
167 1 182 if $flags & 1
183 7 0 if defined $_->[0]
188 25 0 if defined $_->[0]
189 20 5 if @$bucket
206 2 0 if @$bucket
224 81 14 if $flags & 4
225 14 81 if $flags & 2
226 0 95 if $flags & 1