Branch Coverage

blib/lib/Net/Prometheus/ServerStatusLiteCollector.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
30 0 0 if (defined $_[0]) { }
74 0 0 ref $_[0] eq 'HASH' ? :
80 0 0 if defined $args{$k}
94 0 0 if ($self->scoreboard and ref $self->scoreboard eq 'Parallel::Scoreboard')
97 0 0 unless (scalar %$stats)
104 0 0 if ($self->counter_file)
105 0 0 unless (open $counter_fh, '<:unix', $self->counter_file)
116 0 0 unless ($pstatus->{'ppid'} and $pstatus->{'uptime'} and $pstatus->{'ppid'})
129 0 0 if ($counter_fh)
147 0 0 $^O =~ /bsd$/ ? :
151 0 0 if $line =~ /^\D/
153 0 0 if $ppid == $parent_pid
166 0 0 if ($pstatus->{'status'} and $pstatus->{'status'} eq 'A') { }
173 0 0 if (defined $pstatus->{'time'})
192 0 0 if $pstatus->{$stat}