Condition Coverage

blib/lib/Coro/Handle.pm
Criterion Covered Total %
condition 9 60 15.0


and 3 conditions

line !l l&&!r l&&r condition
190 0 0 0 $! != 11 and $! != 4
0 0 0 $! != 11 and $! != 4 and $! != -1e+99
390 4 0 0 defined $_[0][2] && &AE::timer($_[0][2], 0, sub { &$cb(0); } )
399 0 0 0 defined $_[0][2] && &AE::timer($_[0][2], 0, sub { &$cb(0); } )
434 1 0 0 $AnyEvent::MODEL eq 'AnyEvent::Impl::Event' and eval { do { require Coro::Event } }
0 1 0 $AnyEvent::MODEL eq 'AnyEvent::Impl::EV' and eval { do { require Coro::EV } }
462 0 0 0 $! != 11 and $! != 4
0 0 0 $! != 11 and $! != 4 and $! != -1e+99
499 0 0 0 $! != 11 and $! != 4
0 0 0 $! != 11 and $! != 4 and $! != -1e+99
503 0 0 0 $len and $r
543 4 0 0 $! != 11 and $! != 4
4 0 0 $! != 11 and $! != 4 and $! != -1e+99
547 2 1 1 not length $irs and defined $irs

or 3 conditions

line l !l&&r !l&&!r condition
146 0 0 0 CORE::connect tied(*${$_[0];})->[0], $_[1] or $! == 115
0 0 0 CORE::connect tied(*${$_[0];})->[0], $_[1] or $! == 115 or $! == 11
405 0 0 0 $_[0][5] ||= 'Coro::Event'->io('fd', $_[0][0], 'desc', "fh $_[0][1] read watcher", 'timeout', $_[0][2], 'poll', &Event::Watcher::R + &Event::Watcher::E + &Event::Watcher::T)
414 0 0 0 $_[0][6] ||= 'Coro::Event'->io('fd', $_[0][0], 'desc', "fh $_[0][1] write watcher", 'timeout', $_[0][2], 'poll', &Event::Watcher::W + &Event::Watcher::E + &Event::Watcher::T)
507 0 0 0 $_[0][8] or not &readable
543 0 0 4 $! != 11 and $! != 4 and $! != -1e+99 or not &readable