blib/lib/AnyEvent/Fork/RPC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 38 | 28.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
647 | 0 | 0 | 0 | $! != 11 and $! != 11 |
673 | 0 | 0 | 0 | $! != 11 and $! != 11 |
716 | 2 | 0 | 0 | $fh and not $ww |
731 | 1 | 0 | 0 | $fh && &AE::io($fh, 1, $wcb) |
739 | 4 | 0 | 0 | $fh && &AE::io($fh, 1, $wcb) |
line | l | !l | condition |
---|---|---|---|
636 | 2 | 0 | $on_event ||= sub { &$on_error('event received, but no on_event handler'); } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
625 | 0 | 0 | 2 | delete $arg{'serialiser'} || $STRING_SERIALISER |
633 | 2 | 0 | 0 | $on_error ||= $on_event ? sub { &$on_event('error', shift()); } : sub { &AE::log('die', "AnyEvent::Fork::RPC: uncaught error: $_[0]."); } |
698 | 0 | 0 | 2 | @rcb or %rcb |
710 | 0 | 2 | 0 | $ww ||= &AE::io($fh, 1, $wcb) |
711 | 0 | 0 | 2 | $arg{'done'} || "${module}::do_exit" |
731 | 0 | 0 | 1 | $ww ||= $fh && &AE::io($fh, 1, $wcb) |
739 | 0 | 0 | 4 | $ww ||= $fh && &AE::io($fh, 1, $wcb) |