| blib/lib/Mojo/Server/Hypnotoad.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 37 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 29 | 0 | 0 | 0 | defined $c->{$_} and $prefork->$_($c->{$_}) |
| 71 | 0 | 0 | 0 | not $ENV{'HYPNOTOAD_FOREGROUND'} and $ENV{'HYPNOTOAD_REV'} < 3 |
| 115 | 0 | 0 | 0 | $ENV{'HYPNOTOAD_PID'} and $ENV{'HYPNOTOAD_PID'} ne $$ |
| 123 | 0 | 0 | 0 | $self->{'upgrade'} and not $self->{'finished'} |
| line | l | !l | condition |
|---|---|---|---|
| 20 | 0 | 0 | $prefork->app->config($name) // {} |
| 44 | 0 | 0 | $ENV{'MOJO_MODE'} ||= "production" |
| 81 | 0 | 0 | $self->{'new'} || '' |
| 120 | 0 | 0 | $ENV{'HYPNOTOAD_PID'} // "" |
| 130 | 0 | 0 | exec $^X, $ENV{'HYPNOTOAD_EXE'} or die "Can't exec: $!" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 40 | 0 | 0 | 0 | $ENV{'HYPNOTOAD_EXE'} ||= $0 |
| 41 | 0 | 0 | 0 | $ENV{'HYPNOTOAD_APP'} ||= path($app)->to_abs->to_string |
| 47 | 0 | 0 | 0 | $ENV{'HYPNOTOAD_REV'}++ or exec $^X, $ENV{'HYPNOTOAD_EXE'} |
| 52 | 0 | 0 | 0 | $app->config->{'hypnotoad'}{'pid_file'} //= path($ENV{'HYPNOTOAD_APP'})->sibling("hypnotoad.pid")->to_string |
| 69 | 0 | 0 | 0 | $self->{'upgrade'} ||= &steady_time() |