Branch Coverage

blib/lib/App/Framework/Feature/Logging.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
213 2 0 if ($opts{'log'})
242 4 16 if (ref $arg eq 'ARRAY') { }
1 15 elsif (ref $arg eq 'HASH') { }
1 14 elsif (ref $arg eq 'SCALAR') { }
14 0 elsif (not ref $arg) { }
269 15 0 if ($logfile)
272 2 13 unless ($this->_started)
277 0 15 unless open my $fh, ">>$logfile"
283 0 15 if ($this->to_stdout)
342 2 0 if ($logfile)
345 0 2 if ($this->mode eq 'append')
350 0 2 unless open my $fh, "$mode$logfile"