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
44 222 0 217 defined $what and length $what
80 0 0 0 $option ne 'full' and $option ne 'file'
0 0 0 $option ne 'full' and $option ne 'file' and $option ne 'never'
85 4 0 0 not ref $options->{'add_comments'} and 'ARRAY' ne $options->{'add_comments'}
120 51 0 1 exists $options->{'exclude_file'} and not ref $options->{'exclude_file'}
196 0 1 44 $po->entries || $self->{'__options'}{'force_po'} and not $self->{'__options'}{'omit_header'}
235 1 0 1 '""' eq $entry->msgid and &__empty(scalar $entry->dequote($entry->msgctxt))
297 0 1 5 not &__empty($comment) and defined $comment_keywords
373 98 0 0 $from_code ne 'US-ASCII' and $from_code ne 'UTF-8'
553 0 0 0 @description and $pos > 77 - length($description[-1])
653 4 2 1 $flag->arg != $sg_arg and $flag->arg != $pl_arg
748 1 0 1 defined $package_version and length $package_version

or 2 conditions

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

or 3 conditions

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