Branch Coverage

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


line true false branch
31 500 487307 @{$self->{'timers'};} + keys(%{$$self{'items'};}) ? :
39 0 250 if $self->empty
42 0 250 if $nonblocking
49 108 28 if defined $_->[2] and !defined($t) || $t > $_->[2]
59 25 4 if defined $_->[2] and !defined($t) || $t > $_->[2]
63 0 317 if $DEBUG
64 220 97 if $max < $fileno
65 0 317 if not defined $min or $min > $fileno
67 109 141 if (defined $t) { }
0 141 elsif ($DEBUG) { }
69 43 66 if $t < 0
70 0 109 if $DEBUG
77 0 250 if $DEBUG
78 1 249 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 165 85 if ($n > 0) { }
121 1538 212 unless $what
125 212 0 $_->[5] & $what ? :
131 212 0 unless @$bucket
142 1 7 defined $_->[2] && $_->[2] <= $ct ? :
148 1 7 unless @$bucket
162 0 218 unless defined $fileno
165 190 28 if $flags & 4
166 28 190 if $flags & 2
167 1 217 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 112 14 if $flags & 4
225 14 112 if $flags & 2
226 0 126 if $flags & 1