Branch Coverage

blib/lib/Mojo/Server.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
20 37 1 unless my $e = load_class($app)
21 0 1 ref $e ? :
28 13 952 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] ? :
58 16 1 $app ? :
59 1 16 if $err
60 1 15 unless &blessed($app) and $app->can("handler")