Branch Coverage

blib/lib/D/oh.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
30 1 2 if (@_ > 1) { }
1 1 elsif (ref $_[0]) { }
44 1 1 $_[0] && $_[0] =~ /^STDOUT$/i ? :
57 1 0 if $_[0]
58 0 1 unless (defined $OUTFILE)
62 0 1 unless open STDOUT, '>>', $OUTFILE
67 1 0 if $_[0]
68 0 1 unless (defined $ERRFILE)
72 0 1 unless open STDERR, '>>', $ERRFILE