Branch Coverage

blib/lib/Linux/GetPidstat/Reader.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
23 26 78 unless (_is_valid_pid($pid))
30 76 2 if ($self->{'include_child'})
49 1 75 if (length $stderr or $exit != 0)
53 1 75 unless (length $stdout)
63 75 185 if $child_pid == $pid
68 2 183 if ($max and $max <= scalar @child_pids)
86 26 78 unless ($pid =~ /^[0-9]+$/)