Branch Coverage

blib/lib/Proc/Find/Parents.pm
Criterion Covered Total %
branch 6 16 37.5


line true false branch
20 0 1 if (($$opts{'method'} // 'proctable') eq 'pstree') { }
26 0 0 unless @lines
33 0 0 unless ($1)
36 0 0 if $i > 0
45 0 1 if $@
58 0 10 unless $proc{$cur_pid}
59 0 10 if $proc{$cur_pid}{'name'} =~ /\A\{(.+)\}\z/
62 1 9 unless $cur_pid