blib/lib/Linux/GetPidstat/Collector.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
26 | 82 | 0 | if (my $ret = $_[5]) |
29 | 0 | 82 | if $stdout |
30 | 26 | 56 | if $stderr |
32 | 56 | 26 | if ($program_name and $ret_pidstat) |
38 | 8 | 18 | if &$GETPIDSTAT_DEBUG() |
46 | 91 | 18 | if (my $child_pid = $pm->start) |
47 | 10 | 81 | if &$GETPIDSTAT_DEBUG() |
55 | 6 | 12 | unless ($ret_pidstat and %$ret_pidstat) |
74 | 0 | 16 | if (not $stdout or $stderr or $exit != 0) |