Branch Coverage

blib/lib/Log/Log4perl/CommandLine.pm
Criterion Covered Total %
branch 6 64 9.3


line true false branch
33 0 0 if ($next)
40 0 0 if /^:(log(?:config|file|init|category))$/
42 0 0 if /^(?:trace|:levels|:all)$/
43 0 0 if /^(?:debug|:levels|:all)$/
44 0 0 if /^(?:info|:levels|:all)$/
45 0 0 if /^(?:warn|:levels|:all)$/
46 0 0 if /^(?:error|:levels|:all)$/
47 0 0 if /^(?:fatal|:levels|:all)$/
48 0 0 if /^(?:off|:levels|:all)$/
50 0 0 if /^(?:quiet|:long|:all)$/
51 0 0 if /^(?:verbose|:long|:all)$/
53 0 0 if /^(?:q|:short|:all)$/
54 0 0 if /^(?:v|:short|:all)$/
55 0 0 if /^(?:d|:short|:all)$/
57 0 0 if /^(?:loglevel|:logopts|:all)$/
59 0 0 if /^(?:logconfig|:logopts|:all)$/
62 0 0 if /^(?:logfile|:logopts|:all)$/
67 0 0 if /^handlelogoptions$/
70 0 0 if /^:noinit$/
82 0 0 length $_ ? :
96 0 1 if $init{'noinit'}
98 0 1 if (defined $init{'logconfig'} and -f $init{'logconfig'} and -r _) { }
104 0 1 if ($init{'loginit'} and not ref $init{'loginit'}) { }
0 1 elsif ($init{'loginit'} and ref $init{'loginit'} eq 'ARRAY') { }
114 0 1 ref $init{'loginit'} eq 'HASH' ? :
128 0 1 if ($init{'logfile'})
133 0 0 if ($logfile =~ s/\|(.*)$//)
151 0 0 if exists $levelmap{$level}
157 0 0 if ($category eq '')
159 0 0 $level_id >= $Log::Log4perl::CommandLine::INFO ? :
0 0 defined $init{'logcategory'} ? :
164 0 0 if $category eq 'root'