Branch Coverage

blib/lib/AnyEvent/Fork.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
512 10 20 if (ref $self->[0][0]) { }
514 0 10 unless (IO::FDPass::send(fileno $self->[1], fileno ${$self->[0][0];}))
515 0 0 if $! == 11 or $! == 11
526 0 20 unless ($len)
527 0 0 if $! == 11 or $! == 11
533 20 0 unless length $self->[0][0]
541 2 6 if ($self->[4])
557 3 2 if ($pid eq 0) { }
0 2 elsif (not $pid) { }
640 1 2 if $EARLY
643 2 0 unless (defined $PERL)
649 0 2 unless ($^O eq 'MSWin32' || $perl =~ m[^/]u and $perl =~ m([/\\]perl(?:[0-9]+(\.[0-9]+)+)?(\.exe)?$)iu)
674 0 2 $^O eq 'MSWin32' ? :
676 0 2 unless my $pid = Proc::FastSpawn::spawn($PERL, [$PERL, "-MAnyEvent::Fork::Serve", "-e", "AnyEvent::Fork::Serve::me", fileno $slave, $$], [map("$_=$env{$_}", keys %env)])
959 1 2 unless ($self->[2])