Branch Coverage

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


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