Condition Coverage

blib/lib/AnyEvent/Fork.pm
Criterion Covered Total %
condition 6 18 33.3


and 3 conditions

line !l l&&!r l&&r condition
649 0 0 2 $^O eq 'MSWin32' || $perl =~ m[^/]u and $perl =~ m([/\\]perl(?:[0-9]+(\.[0-9]+)+)?(\.exe)?$)iu

or 3 conditions

line l !l&&r !l&&!r condition
515 0 0 0 $! == 11 or $! == 11
527 0 0 0 $! == 11 or $! == 11
545 12 8 0 $self->[2] ||= &AE::io($self->[1], 1, sub { do { if (ref $self->[0][0]) { unless (IO::FDPass::send(fileno $self->[1], fileno ${$self->[0][0];})) { return if $! == 11 or $! == 11; undef $self->[2]; die "AnyEvent::Fork: file descriptor send failure: $!"; } ; shift @{$$self[0];}; } else { my $len = syswrite($self->[1], $self->[0][0]); unless ($len) { return if $! == 11 or $! == 11; undef $self->[2]; die "AnyEvent::Fork: command write failure: $!"; } ; substr $self->[0][0], 0, $len, ""; shift @{$$self[0];} unless length $self->[0][0]; } } while @{$self->[0];}; undef $self->[2]; if ($self->[4]) { $self->[4]->($self->[1]); @$self = (); } ; } )
585 2 2 0 $TEMPLATE ||= $class->new_exec
649 0 2 0 $^O eq 'MSWin32' || $perl =~ m[^/]u