Branch Coverage

blib/lib/Shell.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
19 0 2 if (@_) { }
54 0 3 if ref $_[0] and $_[0]->isa('Shell')
60 1 4 if ref $_[0] and $_[0]->isa('Shell')
61 3 2 if (@_ < 1) { }
62 0 2 $capture_stderr == -1 ? :
1 2 $capture_stderr == 1 ? :
94 2 0 unless ($raw)
118 0 2 if $capture_stderr == 1
119 0 2 if $capture_stderr == -1
120 0 2 unless open SUBPROC, join(' ', $cmd, @arr, '|')
122 2 0 if (wantarray) { }
137 1 2 if ref $_[0] and $_[0]->isa('Shell')