Branch Coverage

blib/lib/Log/Log4perl/JavaMap/RollingFileAppender.pm
Criterion Covered Total %
branch 4 22 18.1


line true false branch
17 0 1 if (defined $data->{'Append'}{'value'}) { }
18 0 0 if (lc $data->{'Append'}{'value'} eq 'true' or $data->{'Append'}{'value'} == 1) { }
0 0 elsif (lc $data->{'Append'}{'value'} eq 'false' or $data->{'Append'}{'value'} == 0) { }
0 0 elsif ($data->{'Append'} =~ /^(write|append)$/) { }
32 0 1 if (defined $data->{'BufferedIO'}{'value'}) { }
33 0 0 if (lc $data->{'BufferedIO'}{'value'} eq 'true' or $data->{'BufferedIO'}{'value'}) { }
0 0 elsif (lc $data->{'BufferedIO'}{'value'} eq 'true' or not $data->{'BufferedIO'}{'value'}) { }
45 1 0 if (defined $data->{'MaxBackupIndex'}{'value'}) { }
0 0 elsif (defined $data->{'max'}{'value'}) { }
55 1 0 if (defined $data->{'MaxFileSize'}{'value'}) { }
0 0 elsif (defined $data->{'size'}{'value'}) { }