Branch Coverage

blib/lib/Capture/Attribute.pm
Criterion Covered Total %
branch 13 40 32.5


line true false branch
28 2 0 unless $args{-'keep'}
38 0 1 if ($data eq 'STDOUT') { }
0 1 elsif ($data eq 'STDERR') { }
0 1 elsif ($data eq 'MERGED') { }
0 1 elsif ($data eq 'STDERR,STDOUT') { }
1 0 elsif ($data eq 'STDOUT,STDERR') { }
47 0 0 defined $wa ? :
0 0 $wa ? :
61 0 0 defined $wa ? :
0 0 $wa ? :
75 0 0 defined $wa ? :
0 0 $wa ? :
89 0 0 defined $wa ? :
0 0 $wa ? :
91 0 0 wantarray ? :
103 1 0 defined $wa ? :
1 1 $wa ? :
113 0 2 unless (scalar @_)
120 1 1 $context ? :
154 0 1 unless my $replacement = &$make_replacement_coderef($orig, $data)