Condition Coverage

blib/lib/Daemon/Device.pm
Criterion Covered Total %
condition 8 25 32.0


and 3 conditions

line !l l&&!r l&&r condition
56 60 0 0 exists $self->{$_} and ref $self->{$_} ne "CODE"
231 0 0 0 @{$self->{'_children'};} > 0 and @{$self->{'_children'};} < $self->{'_spawn'}
0 0 0 @{$self->{'_children'};} > 0 and @{$self->{'_children'};} > $self->{'_spawn'}

or 2 conditions

line l !l condition
41 6 0 getlogin || getpwuid $< || 'root'
62 6 0 $self->{'_spawn'} ||= 1
63 0 6 $self->{'_replace_children'} //= 1
64 0 6 $self->{'_parent_hup_to_child'} //= 1
65 0 6 $self->{'_data'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
42 0 6 0 $self->{'_daemon'}{'user'} ||= $user
44 0 6 0 $self->{'_daemon'}{'group'} ||= (getgrgid((getpwnam $self->{'_daemon'}{'user'})[3]))[0]