Branch Coverage

blib/lib/AnyEvent/Fork/RPC.pm
Criterion Covered Total %
branch 22 42 52.3


line true false branch
633 0 0 $on_event ? :
638 0 2 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 1 1 $arg{'async'} ? :
670 0 8 if $rlen - 128 < length $rbuf
673 6 2 if ($len) { }
2 0 elsif (defined $len) { }
0 0 elsif ($! != 11 and $! != 11) { }
676 0 13 unless 8 + $len <= length $rbuf
682 5 8 if ($id) { }
683 4 1 if (@rcb) { }
1 0 elsif (my $cb = delete $rcb{$id}) { }
698 0 2 if (@rcb or %rcb) { }
701 2 0 if $on_destroy
716 0 2 if $fh and not $ww
723 0 1 $id == 4294967295 ? :
724 0 0 $id == 4294967295 ? :
741 1 1 $arg{'async'} ? :