Branch Coverage

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


line true false branch
22 156 0 unless $$index{"$name.mo"} or $index->{'name.gmo'}
53 18 2 if exists $self->{'index'}
61 12 15 unless -f $_ and not m[/\.] and &_understand_file_format($_)
90 0 14 unless keys %$index
93 0 14 unless (defined $lang)
94 0 0 unless defined $locale
100 4 10 defined $terr ? :
101 0 14 defined $cs ? :
102 0 14 defined $modif ? :
105 0 14 if (length $normcs)
106 0 0 unless $normcs =~ /[^0-9-]/
121 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")
138 3 1 unless defined $filter
141 1 0 if defined $filter and ref $filter ne 'Regexp'