Branch Coverage

blib/lib/Log/Log4perl/Config/BaseConfigurator.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
23 0 364 if exists $self->{'file'}
24 0 364 if exists $self->{'text'}
35 177 20 if (defined $text)
36 177 0 if (ref $text eq 'ARRAY') { }
51 2 20 unless open my $fh, "$filename"
53 1 19 if ($self->{'utf8'})
124 3 996 if (do {
52 944 elsif ($path->[0] eq 'filter') { }
8 936 elsif ($path->[0] eq 'appender' and $path->[2] eq 'warp_message') { }
14 922 elsif ($path->[0] eq 'appender' and $path->[3] eq 'cspec' or $path->[1] eq 'cspec') { }
125 731 268 if $path->[0] eq "appender"
140 3 0 if defined $code