Branch Coverage

blib/lib/POE/Loop/IO_Poll.pm
Criterion Covered Total %
branch 55 70 78.5


line true false branch
39 0 52 if ($^O eq 'MSWin32' and not $ENV{'POE_DANTIC'})
57 0 52 if ($@ or not defined $x)
115 536 732 if $_[0] == 0
116 732 0 if $_[0] == 1
117 0 0 if $_[0] == 2
163 4 340 if ($new) { }
189 171 106 if ($new) { }
236 736 0 if (defined $timeout) { }
238 407 329 if $timeout < 0
258 61 1084 if -f $_
259 27 1308 if -d $_
260 366 1282 if -l $_
261 146 1136 if -p $_
262 71 1202 if -S $_
263 0 1273 if -b $_
264 113 1078 if -c $_
265 33 1163 if -t STDIN
268 988 189 if $flags & 88
269 296 1035 if $flags & 280
270 0 1057 if $flags & 152
281 462 0 if (scalar keys %poll_fd_masks) { }
0 0 elsif ($timeout) { }
289 4 458 if ($hits < 0)
290 255 4 unless $! == 115 or $! == 11 or $! == 4 or $! == 0
300 154 308 if ($hits > 0) { }
304 4 elsif ($hits == 0) { }
312 154 308 if ($hits > 0)
319 391 318 unless $got_mask
322 162 156 if ($watch_mask & 64 and $got_mask & 120)
333 157 161 if ($watch_mask & 256 and $got_mask & 312)
344 0 318 if ($watch_mask & 128 and $got_mask & 184)
356 119 35 if @rd_ready
357 68 86 if @wr_ready
358 0 154 if @ex_ready
367 0 0 if ($^O eq 'MSWin32') { }