Condition Coverage

blib/lib/Locale/gettext_pp.pm
Criterion Covered Total %
condition 49 101 48.5


and 2 conditions

line l !l condition
596 0 2 ++$Locale::gettext_pp::__gettext_pp_unavailable_dirs->{$fulldir} and next

and 3 conditions

line !l l&&!r l&&r condition
76 0 0 22 defined $has_messages and length $has_messages
89 0 0 22 defined $has_messages and length $has_messages
221 192 1 15 defined $new_domain and length $new_domain
232 0 0 50 defined $domain and length $domain
233 4 9 37 defined $directory and length $directory
241 0 0 50 defined $retval and length $retval
253 0 0 2 defined $domain and length $domain
254 0 0 2 defined $codeset and length $codeset
358 0 283 381 defined $domainname and length $domainname
372 0 4 5 $this_domain and defined $this_domain->{'messages'}{$msg_ctxt_id}
397 659 0 5 $found and defined $domain->{'po_header'}{'charset'}
428 0 5 0 defined $output_codeset and $output_codeset ne $domain->{'po_header'}{'charset'}
496 7 0 2 defined $ENV{'LANGUAGE'} and length $ENV{'LANGUAGE'}
553 9 0 655 not defined $locale and $category != 1729
560 0 0 9 defined $domainname and length $domainname
564 0 0 9 defined $dir and length $dir
566 0 0 9 defined $dir and length $dir
578 0 0 2 $Locale::gettext_pp::__gettext_pp_default_dir and $dir ne $Locale::gettext_pp::__gettext_pp_default_dir
625 0 0 2 -f $filename and -r $filename
694 2 0 20 defined $msgid and length $msgid
733 0 0 2 defined $domain->{'po_header'}{'charset'} and length $domain->{'po_header'}{'charset'}
0 0 2 defined $domain->{'po_header'}{'charset'} and length $domain->{'po_header'}{'charset'} and $locale =~ /^(?:[a-z][a-z]) (?:(?:_[A-Z][A-Z])? (\.[-_A-Za-z0-9]+)? )? (?:\@[-_A-Za-z0-9]+)?$/lx
760 0 0 5 defined $value and length $value
0 5 0 defined $value and length $value and $value =~ /^[a-z][a-z] (?:_[A-Z][A-Z] (?:\.[-_A-Za-z0-9]+)? )? (?:\@[-_A-Za-z0-9]+)?$/lx
770 4 0 1 defined $value and length $value
771 4 0 1 defined $value and length $value
772 3 0 2 defined $value and length $value
775 0 0 2 $value ne "C" and $value ne "POSIX"

or 2 conditions

line l !l condition
77 0 0 eval "&POSIX::$_" || 0
391 483 39 $n != 1 || 0
721 1 1 $domain->{'po_header'}{'plural_forms'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
555 0 655 0 not defined $locale or "C" eq $locale
655 0 0 not defined $locale or "C" eq $locale or "POSIX" eq $locale
637 0 0 2 not defined $raw or length $raw < 28