Branch Coverage

blib/lib/AnyEvent/Fork/RPC.pm
Criterion Covered Total %
branch 27 44 61.3


line true false branch
654 0 0 $on_event ? :
659 0 5 if $@
667 0 4 unless (defined $len)
668 0 0 if ($! != 11 and $! != 11)
676 4 0 unless (length $wbuf)
678 2 2 if $shutdown
682 3 2 $arg{'async'} ? :
694 1 4 unless $fh = shift()
699 0 12 if $rlen - 128 < length $rbuf
702 8 4 if ($len) { }
4 0 elsif (defined $len) { }
0 0 elsif ($! != 11 and $! != 11) { }
705 0 15 unless 8 + $len <= length $rbuf
711 5 10 if ($id) { }
712 4 1 if (@rcb) { }
1 0 elsif (my $cb = delete $rcb{$id}) { }
727 2 2 if (@rcb or %rcb) { }
730 2 0 if $on_destroy
745 2 3 if $fh and not $ww
752 0 3 $id == 4294967295 ? :
753 0 0 $id == 4294967295 ? :
770 3 2 $arg{'async'} ? :