blib/lib/AnyEvent/Fork/Serve.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 22 | 50.0 |
line | true | false | branch |
---|---|---|---|
51 | 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') { } | |
54 | 0 | 2 | unless $fd >= 0 |
55 | 0 | 2 | unless open my $fh, "+<&=$fd" |
64 | 1 | 1 | if ($pid eq 0) { } |
71 | 0 | 1 | unless $pid |
81 | 0 | 0 | if $@ |
104 | 0 | 0 | unless open my $fh, "+<&=$ARGV[0]" |