Branch Coverage

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


line true false branch
39 0 53 if ($^O eq 'MSWin32' and not $ENV{'POE_DANTIC'})
57 0 53 if ($@ or not defined $x)
115 584 837 if $_[0] == 0
116 837 0 if $_[0] == 1
117 0 0 if $_[0] == 2
163 8 370 if ($new) { }
189 183 141 if ($new) { }
236 783 0 if (defined $timeout) { }
238 415 368 if $timeout < 0
258 73 1619 if -f $_
259 23 1852 if -d $_
260 366 1821 if -l $_
261 146 1675 if -p $_
262 73 1741 if -S $_
263 0 1814 if -b $_
264 113 1619 if -c $_
265 35 1702 if -t STDIN
268 1506 210 if $flags & 88
269 331 1542 if $flags & 280
270 0 1596 if $flags & 152
281 506 0 if (scalar keys %poll_fd_masks) { }
0 0 elsif ($timeout) { }
289 4 502 if ($hits < 0)
290 256 4 unless $! == 115 or $! == 11 or $! == 4 or $! == 0
300 191 315 if ($hits > 0) { }
311 4 elsif ($hits == 0) { }
312 191 315 if ($hits > 0)
319 803 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 150 41 if @rd_ready
357 79 112 if @wr_ready
358 0 191 if @ex_ready
367 0 0 if ($^O eq 'MSWin32') { }