Branch Coverage

blib/lib/AnyEvent/Fork/Serve.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
44 2 4 if ($cmd eq 'h') { }
0 4 elsif ($cmd eq 'a') { }
2 2 elsif ($cmd eq 'f') { }
2 0 elsif ($cmd eq 'e') { }
0 0 elsif ($cmd eq 'r') { }
47 0 2 unless $fd >= 0
48 0 2 unless open my $fh, "+<&=$fd"
57 1 1 if ($pid eq 0) { }
64 0 1 unless $pid
74 0 0 if $@
97 0 0 unless open my $fh, "+<&=$ARGV[0]"