Branch Coverage

blib/lib/Log/Report/Lexicon/Index.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
38 156 1 unless $$index{"$name.mo"} or $$index{"$name.gmo"}
70 18 2 if exists $self->{'index'}
78 13 15 unless -f $_ and not m[/\.] and &_understand_file_format($_)
106 0 14 unless keys %$index
109 0 14 unless (defined $lang)
110 0 0 unless defined $locale
116 4 10 defined $terr ? :
117 0 14 defined $cs ? :
118 0 14 defined $modif ? :
121 0 14 if (length $normcs)
122 0 0 unless $normcs =~ /[^0-9-]/
137 0 0 unless $fn or &_find($index, "$domain/$lang$terr$cs$modif") or &_find($index, "$domain/$lang$terr$normcs$modif") or &_find($index, "$domain/$lang$terr$modif") or &_find($index, "$domain/$lang$cs$modif") or &_find($index, "$domain/$lang$normcs$modif") or &_find($index, "$domain/$lang$modif")
154 3 1 unless defined $filter
157 1 0 if defined $filter and ref $filter ne "Regexp"