Branch Coverage

blib/lib/Net/Prometheus/ProcessCollector/linux.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
88 5 1 unless (defined $BOOTTIME)
90 95 5 unless $line =~ /^btime /
108 0 18 unless open my $fh, '<', "/proc/$self->{'pid'}/$path"
118 0 9 unless opendir my $dirh, "/proc/$pid/fd"
121 9 0 if $pid eq 'self' or $pid == $$
130 0 9 unless defined $line
141 0 9 unless defined $statline
159 9 0 defined $open_fds ? :
9 0 defined $limit_fds ? :