blib/lib/Mojo/Server.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 18 | 61.1 |
line | true | false | branch |
---|---|---|---|
20 | 37 | 1 | unless my $e = load_class($app) |
21 | 0 | 1 | ref $e ? : |
28 | 13 | 940 | if $self->reverse_proxy |
35 | 0 | 0 | unless defined(my $pid = fork) |
36 | 0 | 0 | if $pid |
37 | 0 | 0 | if POSIX::setsid() == -1 |
46 | 1 | 16 | ref $_[0] ? : |
59 | 1 | 16 | if $@ |
60 | 1 | 15 | unless &blessed($app) and $app->can("handler") |