Branch Coverage

blib/lib/Bio/Gonzales/Util/Log.pm
Criterion Covered Total %
branch 11 30 36.6


line true false branch
33 1 1 if (my $path = $self->path)
34 1 0 $self->append ? :
36 0 1 unless open my $fh, $mode, $path
51 0 0 if (shift())->log('fatal', @_)
52 0 0 if (shift())->log('fatal', @_)
53 0 0 if (shift())->log('fatal', @_)
55 0 0 if (shift())->log('fatal', @_)
56 0 0 if (shift())->log('fatal', @_)
57 0 0 if (shift())->log('fatal', @_)
65 2 1 if $self->namespace
66 0 3 if $is_thread
84 0 3 unless $level
91 0 3 unless $self->is_level($level) and my $handle = $self->_fh
96 0 3 if $self->tee_stderr
104 0 3 unless $handle->print($msg)