Branch Coverage

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


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