blib/lib/AnyEvent/Fork/RPC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 42 | 38.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
668 | 0 | 0 | 0 | $! != 11 and $! != 11 |
702 | 0 | 0 | 0 | $! != 11 and $! != 11 |
745 | 3 | 0 | 2 | $fh and not $ww |
760 | 3 | 0 | 0 | $fh && &AE::io($fh, 1, $wcb) |
768 | 5 | 0 | 0 | $fh && &AE::io($fh, 1, $wcb) |
line | l | !l | condition |
---|---|---|---|
657 | 5 | 0 | $on_event ||= sub { &$on_error('event received, but no on_event handler'); } |
662 | 0 | 5 | $arg{'buflen_res'} || $arg{'buflen'} || 496 |
740 | 0 | 5 | $arg{'buflen_req'} || $arg{'buflen'} || 496 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
646 | 0 | 5 | 0 | delete $arg{'serialiser'} || $STRING_SERIALISER |
654 | 5 | 0 | 0 | $on_error ||= $on_event ? sub { &$on_event('error', shift()); } : sub { &AE::log('die', "AnyEvent::Fork::RPC: uncaught error: $_[0]."); } |
727 | 1 | 1 | 2 | @rcb or %rcb |
739 | 0 | 4 | 0 | $ww ||= &AE::io($fh, 1, $wcb) |
740 | 0 | 5 | 0 | $arg{'done'} || "${module}::do_exit" |
760 | 0 | 0 | 3 | $ww ||= $fh && &AE::io($fh, 1, $wcb) |
768 | 0 | 0 | 5 | $ww ||= $fh && &AE::io($fh, 1, $wcb) |