Branch Coverage

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


line true false branch
39 0 54 if ($^O eq "MSWin32" and not $ENV{'POE_DANTIC'})
57 0 54 if ($@ or not defined $x)
115 605 871 if $_[0] == 0
116 871 0 if $_[0] == 1
117 0 0 if $_[0] == 2
163 8 370 if ($new) { }
189 183 152 if ($new) { }
236 786 0 if (defined $timeout) { }
238 417 369 if $timeout < 0
258 52 1680 if -f $_
259 22 1908 if -d $_
260 366 1882 if -l $_
261 146 1736 if -p $_
262 70 1803 if -S $_
263 0 1873 if -b $_
264 113 1678 if -c $_
265 32 1762 if -t STDIN
268 1568 210 if $flags & 88
269 326 1598 if $flags & 280
270 0 1658 if $flags & 152
281 520 0 if (scalar keys %poll_fd_masks) { }
0 0 elsif ($timeout) { }
289 5 515 if ($hits < 0)
290 250 5 unless $! == 115 or $! == 11 or $! == 4 or $! == 0
300 199 321 if ($hits > 0) { }
316 5 elsif ($hits == 0) { }
312 199 321 if ($hits > 0)
319 877 407 unless $got_mask
322 218 189 if ($watch_mask & 64 and $got_mask & 120)
333 190 217 if ($watch_mask & 256 and $got_mask & 312)
344 0 407 if ($watch_mask & 128 and $got_mask & 184)
356 150 49 if @rd_ready
357 81 118 if @wr_ready
358 0 199 if @ex_ready
367 0 0 if ($^O eq 'MSWin32') { }