Condition Coverage

blib/lib/Acme/Ghost.pm
Criterion Covered Total %
condition 9 64 14.0


and 3 conditions

line !l l&&!r l&&r condition
944 0 0 0 $runned and $runned < 0
1029 0 0 0 $loop < 6 and $! == 11 || $! == 12

or 2 conditions

line l !l condition
629 0 2 $ENV{'ACME_GHOST_DEBUG'} || 0
640 0 1 $args->{'user'} // ""
641 0 1 $args->{'group'} // ""
652 0 1 $uid || 0
664 0 1 $gid || 0
877 0 0 shift() || 0
939 0 0 $self->filepid->running || 0
950 0 0 shift() // 1
951 0 0 $self->filepid->running || 0
958 0 0 shift() || ''
1010 0 0 pop() || 60

or 3 conditions

line l !l&&r !l&&!r condition
629 2 0 0 $> == 0 || $< == 0
639 0 1 0 $args->{'name'} || File::Basename::basename($0)
649 0 0 0 getpwnam $user || croak("getpwnam failed - $!\n")
660 0 0 0 getgrnam $group || croak("getgrnam failed - $!\n")
689 1 0 0 $args->{'pidfile'} || 'File::Spec'->catfile(getcwd(), sprintf('%s.pid', $name))
0 1 0 $args->{'ident'} || $name
717 0 0 0 $self->{'_log'} //= "Acme::Ghost::Log"->new("facility", $self->{'facility'}, "ident", $self->{'ident'}, "logopt", $self->{'logopt'}, "logger", $self->{'logger'}, "level", $self->{'loglevel'}, "file", $self->{'logfile'}, "handle", $self->{'loghandle'})
723 0 0 0 $self->{'_filepid'} //= "Acme::Ghost::FilePid"->new("file", $self->{'pidfile'})
727 0 0 0 shift() // $self->{'uid'}
733 0 0 0 $< != $uid or $> != $uid
744 0 0 0 shift() // $self->{'gids'}
1029 0 0 0 $! == 11 || $! == 12