Branch Coverage

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


line true false branch
49 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') { }
52 0 2 unless $fd >= 0
53 0 2 unless open my $fh, "+<&=$fd"
62 1 1 if ($pid eq 0) { }
69 0 1 unless $pid
79 0 0 if $@
102 0 0 unless open my $fh, "+<&=$ARGV[0]"