Branch Coverage

blib/lib/Pod/MultiLang/Dict.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
40 0 7 unless @_
41 5 2 UNIVERSAL::isa($_[0], 'ARRAY') ? :
43 0 12 unless $lang =~ /^[a-zA-Z_]\w+([\.\-]\w+)*$/
44 4 8 if exists $Pod::MultiLang::Dict::DICT{$lang}
50 0 8 if $@ and $lang ne 'en'
51 5 3 if ($pkg->can('static_table'))
77 0 100 if (@inparts > 1 and not exists $Pod::MultiLang::Dict::STATIC_TABLE{$lang}{'AND'})
83 11 89 if (exists $Pod::MultiLang::Dict::STATIC_TABLE{$lang}{$text})
88 0 89 if ($text eq '&')
90 0 0 if (exists $Pod::MultiLang::Dict::STATIC_TABLE{$lang}{'AND'}) { }
103 0 89 if (($chk = $text) =~ s/S$// and exists $Pod::MultiLang::Dict::STATIC_TABLE{$lang}{$chk})
110 86 3 $text =~ /[SX]$/ ? :
111 0 89 if (exists $Pod::MultiLang::Dict::STATIC_TABLE{$lang}{$chk})
132 0 0 if (UNIVERSAL::can($impl, 'make_linktext')) { }
137 0 0 $section ? :
0 0 $section ? :
0 0 $name ? :