Branch Coverage

blib/lib/Log/Any/Adapter/File.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
28 7 2 if (exists $self->{'log_level'} and $self->{'log_level'} =~ /\D/)
30 1 6 unless (defined $numeric_level)
36 1 8 unless (defined $self->{'log_level'})
41 1 8 unless substr($binmode, 0, 1) eq ":"
42 0 9 unless open $self->{'fh'}, ">>$binmode", $file
52 0 3 if $method_level > $self->{'log_level'}
54 3 0 if $HAS_FLOCK
56 3 0 if $HAS_FLOCK