Condition Coverage

blib/lib/Locale/Utils/Autotranslator.pm
Criterion Covered Total %
condition 18 31 58.0


and 3 conditions

line !l l&&!r l&&r condition
333 0 0 15 $po->msgid && $encode_obj->decode($po->dequote($po->msgid))
336 13 0 2 defined $po->msgid_plural && $encode_obj->decode($po->dequote($po->msgid_plural))
339 2 13 0 defined $po->msgstr && $po->dequote($po->msgstr)
349 26 4 0 defined $msgstr_n->{$index} && $po->dequote($msgstr_n->{$index})
352 0 30 0 defined $entry_ref->{'msgstr_n'}{$index} && length $entry_ref->{'msgstr_n'}{$index}
353 15 15 0 $is_all_translated &&= $is_translated
462 0 4 0 defined $entry_ref->{'msgstr_n'}{$index} and length $entry_ref->{'msgstr_n'}{$index}
484 2 0 10 defined $_ && length $_

or 2 conditions

line l !l condition
344 2 13 $po->msgstr_n || {}
483 2 4 $self->_gettext_ref->{$inner} ||= [map({defined $_ && length $_ ? $self->translate_any_msgid($_, 1) : undef;} $singular, $plural, $zero)]

or 3 conditions

line l !l&&r !l&&!r condition
310 6 0 0 $pos_ref->[0]->msgstr || confess("No header found in file $name_read")