blib/lib/Daemon/Control.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 38 | 7.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
165 | 1 | 0 | 0 | not defined $self->group and defined $self->uid |
363 | 0 | 0 | 0 | $self->uid and $self->gid |
435 | 0 | 0 | 0 | defined $args and $args =~ /$pattern/ |
490 | 0 | 0 | 0 | $self->pid and $self->pid_running |
580 | 0 | 0 | 0 | $self->pid and $self->pid_running |
593 | 0 | 0 | 0 | $self->pid and $self->pid_running |
line | l | !l | condition |
---|---|---|---|
447 | 0 | 0 | $color ||= 'green' |
448 | 0 | 0 | $self->color_map->{$color} ||= '32' |
636 | 1 | 0 | $self->VERSION || 'DEV' |
678 | 0 | 0 | $arg || 'help' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
108 | 0 | 0 | 1 | $self->foreground == 1 or $ENV{'DC_FOREGROUND'} |
280 | 0 | 0 | 0 | $self->user || getpwuid $self->uid |
405 | 0 | 0 | 0 | $pid ||= $self->read_pid |
435 | 0 | 0 | 0 | $command =~ /$pattern/ or defined $args and $args =~ /$pattern/ |