Branch Coverage

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


line true false branch
124 25 0 if ($] >= 5.006)
125 25 0 unless (defined $has_encode)
130 0 25 unless ($has_encode or defined $has_bytes)
139 25 0 if ($has_encode) { }
0 0 elsif ($has_bytes) { }
192 21 0 if ('Locale::Messages' eq $pkg and defined $compatibility)
196 0 21 if ($no_xs and 'gettext_xs' eq $pkg)
200 20 1 if (defined $pkg and 'gettext_pp' eq $pkg) { }
1 0 elsif (defined $pkg) { }
210 1 0 unless $@
213 0 0 unless $@