Branch Coverage

blib/lib/Locale/Messages.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
122 25 0 if ($] >= 5.006)
123 25 0 unless (defined $has_encode)
128 0 25 unless ($has_encode or defined $has_bytes)
137 25 0 if ($has_encode) { }
0 0 elsif ($has_bytes) { }
190 21 0 if ('Locale::Messages' eq $pkg and defined $compatibility)
194 0 21 if ($no_xs and 'gettext_xs' eq $pkg)
198 20 1 if (defined $pkg and 'gettext_pp' eq $pkg) { }
1 0 elsif (defined $pkg) { }
208 1 0 unless $@
211 0 0 unless $@