Branch Coverage

blib/lib/Locale/XGettext/Util/POEntries.pm
Criterion Covered Total %
branch 14 50 28.0


line true false branch
38 98 0 $entry->msgid || defined $entry->msgid ? :
39 0 98 $entry->msgctxt || defined $entry->msgctxt ? :
40 5 93 $entry->msgid_plural || defined $entry->msgid_plural ? :
43 0 98 if ($existing) { }
47 44 54 if ($prepend) { }
61 0 54 unless defined $entry->msgid
62 5 49 if (defined $entry->msgid_plural) { }
48 1 elsif (not defined $entry->msgstr) { }
63 5 0 unless (defined $entry->msgstr_n)
68 48 0 unless defined $entry->msgstr
98 0 0 if (defined $entry->msgid_plural and defined $overlay->msgid_plural and $entry->msgid_plural ne $overlay->msgid_plural)
110 0 0 if defined $overlay->msgid_plural
116 0 0 if (not @lines) { }
122 0 0 if ($ref_length > 76) { }
0 0 elsif ($ref_length + length($last_line) > 76) { }
133 0 0 if $overlay->fuzzy
134 0 0 if (defined $entry->comment) { }
137 0 0 if defined $overlay->comment
139 0 0 if (defined $entry->automatic) { }
142 0 0 if defined $overlay->automatic
147 0 0 unless $overlay->{'_flags'}
149 0 0 if ($flag =~ /^no-(.*)/) { }
0 0 elsif ($entry->has_flag("no-$flag")) { }
150 0 0 if $entry->has_flag($1)
157 0 0 unless $entry->has_flag($flag)