Branch Coverage

blib/lib/AnyEvent/Fork/RPC.pm
Criterion Covered Total %
branch 24 44 54.5


line true false branch
633 0 0 $on_event ? :
638 0 3 if $@
646 0 2 unless (defined $len)
647 0 0 if ($! != 11 and $! != 11)
655 2 0 unless (length $wbuf)
657 2 0 if $shutdown
661 2 1 $arg{'async'} ? :
666 1 2 unless $fh = shift()
671 0 8 if $rlen - 128 < length $rbuf
674 6 2 if ($len) { }
2 0 elsif (defined $len) { }
0 0 elsif ($! != 11 and $! != 11) { }
677 0 13 unless 8 + $len <= length $rbuf
683 5 8 if ($id) { }
684 4 1 if (@rcb) { }
1 0 elsif (my $cb = delete $rcb{$id}) { }
699 0 2 if (@rcb or %rcb) { }
702 2 0 if $on_destroy
717 0 3 if $fh and not $ww
724 0 2 $id == 4294967295 ? :
725 0 0 $id == 4294967295 ? :
742 2 1 $arg{'async'} ? :