blib/lib/Gearman/Starter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 50 | 0.0 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 0 | unless $$self{'Reload'} |
35 | 0 | 0 | ref $$self{'server'} ? : |
40 | 0 | 0 | ref $$self{'module'} ? : |
56 | 0 | 0 | unless $p->getoptionsfromarray(\@argv, \%opt, ('server|s=s@', 'prefix=s', 'max-workers=i', 'max-requests-per-child=i', 'scoreboard-dir=s', 'listen=s', 'port=i', 'Reload|R=s@')) |
66 | 0 | 0 | unless $opt{'server'} and @{$opt{'server'};} |
70 | 0 | 0 | if $mod eq '--' |
87 | 0 | 0 | if ($self->reload) |
93 | 0 | 0 | if ($self->scoreboard_dir) |
99 | 0 | 0 | if (defined $self->port) |
135 | 0 | 0 | if $pm->start |
144 | 0 | 0 | if $self->prefix |
150 | 0 | 0 | if ($self->scoreboard) |
157 | 0 | 0 | if $self->scoreboard |
160 | 0 | 0 | if $self->scoreboard |
166 | 0 | 0 | $self->on_fail ? : |
173 | 0 | 0 | unless $pid |
183 | 0 | 0 | unless defined $pid |
184 | 0 | 0 | if ($pid) { } |
196 | 0 | 0 | unless @events |
199 | 0 | 0 | unless @restart |
227 | 0 | 0 | unless $sock |
230 | 0 | 0 | unless defined $pid |
232 | 0 | 0 | if ($pid) { } |
243 | 0 | 0 | if $self->prefix |
250 | 0 | 0 | if ($self->scoreboard) { } |