Branch Coverage

blib/lib/Test/Locale/PO.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
21 0 5 unless (-f $file)
30 0 5 if ($@)
34 0 5 if (scalar @$content == 0)
42 16 4 if ($$opts{'empty'})
44 15 1 if (defined $po->msgstr and not $po->msgstr =~ /^["\- ]*$/) { }
0 1 elsif (defined $po->msgid_plural and defined $po->msgstr_n->{'0'} and not $po->msgstr_n->{'0'} =~ /^["\- ]*$/) { }
54 1 19 if ($$opts{'fuzzy'} and $po->has_flag('fuzzy'))
59 2 3 if (scalar @no_msgstr != 0 or scalar @fuzzy != 0)