Branch Coverage

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


line true false branch
27 0 0 if (defined $_[0]) { }
71 0 0 ref $_[0] eq 'HASH' ? :
77 0 0 if defined $args{$k}
88 0 0 if (opendir my $dir, $self->scoreboard) { }
99 0 0 unless (scalar %$stats)
106 0 0 if ($self->counter_file)
107 0 0 unless (open $counter_fh, '<:unix', $self->counter_file)
118 0 0 unless ($pstatus->{'ppid'} and $pstatus->{'uptime'} and $pstatus->{'ppid'})
131 0 0 if ($counter_fh)
149 0 0 $^O =~ /bsd$/ ? :
153 0 0 if $line =~ /^\D/
155 0 0 if $ppid == $parent_pid
168 0 0 if ($pstatus->{'status'} and $pstatus->{'status'} eq 'A') { }
175 0 0 if (defined $pstatus->{'time'})
194 0 0 if $pstatus->{$stat}