Branch Coverage

blib/lib/Log/Report/Lexicon/Index.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
26 156 0 unless $$index{"$name.mo"} or $index->{'name.gmo'}
57 18 2 if exists $self->{'index'}
65 12 15 unless -f $_ and not m[/\.] and &_understand_file_format($_)
94 0 14 unless keys %$index
97 0 14 unless (defined $lang)
98 0 0 unless defined $locale
104 4 10 defined $terr ? :
105 0 14 defined $cs ? :
106 0 14 defined $modif ? :
109 0 14 if (length $normcs)
110 0 0 unless $normcs =~ /[^0-9-]/
125 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")
142 3 1 unless defined $filter
145 1 0 if defined $filter and ref $filter ne 'Regexp'