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 7 371 if ($new) { }
189 183 152 if ($new) { }
236 786 0 if (defined $timeout) { }
238 419 367 if $timeout < 0
258 59 1626 if -f $_
259 23 1857 if -d $_
260 366 1828 if -l $_
261 146 1682 if -p $_
262 70 1748 if -S $_
263 0 1818 if -b $_
264 113 1623 if -c $_
265 32 1709 if -t STDIN
268 1513 210 if $flags & 88
269 328 1547 if $flags & 280
270 0 1603 if $flags & 152
281 514 0 if (scalar keys %poll_fd_masks) { }
0 0 elsif ($timeout) { }
289 5 509 if ($hits < 0)
290 254 5 unless $! == 115 or $! == 11 or $! == 4 or $! == 0
300 195 319 if ($hits > 0) { }
314 5 elsif ($hits == 0) { }
312 195 319 if ($hits > 0)
319 775 414 unless $got_mask
322 225 189 if ($watch_mask & 64 and $got_mask & 120)
333 190 224 if ($watch_mask & 256 and $got_mask & 312)
344 0 414 if ($watch_mask & 128 and $got_mask & 184)
356 152 43 if @rd_ready
357 81 114 if @wr_ready
358 0 195 if @ex_ready
367 0 0 if ($^O eq 'MSWin32') { }