Branch Coverage

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


line true false branch
19 0 2 if (@_) { }
50 0 3 if ref $_[0] and $_[0]->isa('Shell')
56 1 4 if ref $_[0] and $_[0]->isa('Shell')
57 3 2 if (@_ < 1) { }
58 0 2 $capture_stderr == -1 ? :
1 2 $capture_stderr == 1 ? :
90 2 0 unless ($raw)
114 0 2 if $capture_stderr == 1
115 0 2 if $capture_stderr == -1
116 0 2 unless open SUBPROC, join(' ', $cmd, @arr, '|')
118 2 0 if (wantarray) { }
133 1 2 if ref $_[0] and $_[0]->isa('Shell')