Condition Coverage

blib/lib/Locale/XGettext.pm
Criterion Covered Total %
condition 27 54 50.0


and 3 conditions

line !l l&&!r l&&r condition
43 222 0 217 defined $what and length $what
79 0 0 0 $option ne 'full' and $option ne 'file'
0 0 0 $option ne 'full' and $option ne 'file' and $option ne 'never'
84 4 0 0 not ref $options->{'add_comments'} and 'ARRAY' ne $options->{'add_comments'}
119 51 0 1 exists $options->{'exclude_file'} and not ref $options->{'exclude_file'}
195 0 1 44 $po->entries || $self->{'__options'}{'force_po'} and not $self->{'__options'}{'omit_header'}
234 1 0 1 '""' eq $entry->msgid and &__empty(scalar $entry->dequote($entry->msgctxt))
296 0 1 5 not &__empty($comment) and defined $comment_keywords
372 98 0 0 $from_code ne 'US-ASCII' and $from_code ne 'UTF-8'
548 0 0 0 @description and $pos > 77 - length($description[-1])
648 4 2 1 $flag->arg != $sg_arg and $flag->arg != $pl_arg
743 1 0 1 defined $package_version and length $package_version

or 2 conditions

line l !l condition
212 2 38 $self->{'__options'}{'directory'} || ['']
645 5 2 $keywords->{$keyword}->plural || 0
917 52 0 $self->defaultKeywords || []

or 3 conditions

line l !l&&r !l&&!r condition
113 39 0 0 @{$self->{'__files'};} or @{$options->{'files_from'};}
195 45 0 0 $po->entries || $self->{'__options'}{'force_po'}
482 9 0 0 $self->{'__po'}->entries or $self->{'__options'}{'force_po'}
692 0 1 2 'File::Spec'->file_name_is_absolute($options->{'output'}) or '-' eq $options->{'output'}