Condition Coverage

blib/lib/PDF/API2/Resource/CIDFont.pm
Criterion Covered Total %
condition 1 70 1.4


and 3 conditions

line !l l&&!r l&&r condition
35 0 1 0 defined $pdf and not $self->is_obj($pdf)
92 0 0 0 $self->{'-dokern'} and $self->haveKernPairs
117 0 0 0 utf8::is_utf8($text) and defined $self->data->{'decode'}
0 0 0 utf8::is_utf8($text) and defined $self->data->{'decode'} and $self->data->{'decode'} ne "ident"
0 0 0 utf8::is_utf8($text) and defined $self->data->{'decode'}
0 0 0 utf8::is_utf8($text) and defined $self->data->{'decode'} and $self->data->{'decode'} eq "ident"
0 0 0 not utf8::is_utf8($text) and defined $self->data->{'encode'}
0 0 0 not utf8::is_utf8($text) and defined $self->data->{'encode'} and defined $self->data->{'decode'}
0 0 0 not utf8::is_utf8($text) and defined $self->data->{'encode'} and defined $self->data->{'decode'} and $self->data->{'decode'} eq "ident"
0 0 0 not utf8::is_utf8($text) and $self->can("issymbol")
0 0 0 not utf8::is_utf8($text) and $self->can("issymbol") and $self->issymbol
0 0 0 not utf8::is_utf8($text) and $self->can("issymbol") and $self->issymbol and defined $self->data->{'decode'}
0 0 0 not utf8::is_utf8($text) and $self->can("issymbol") and $self->issymbol and defined $self->data->{'decode'} and $self->data->{'decode'} eq "ident"
162 0 0 0 $_ && $_ > 127 && $_ < 160
182 0 0 0 defined $size and $self->{'-dokern'}
187 0 0 0 defined $indent and $indent != 0
222 0 0 0 defined $size and $self->{'-dokern'}
0 0 0 defined $size and $self->{'-dokern'} and $self->haveKernPairs
239 0 0 0 defined $indent and $indent != 0
248 0 0 0 defined $indent and $indent != 0
275 0 0 0 $_ > 127 && $_ < 160

or 2 conditions

line l !l condition
160 0 0 $self->cidByUni($_) // 0
280 0 0 $self->data->{'u2g'}{$_} or 0

or 3 conditions

line l !l&&r !l&&!r condition
290 0 0 0 $self->data->{'u2e'}{$self->data->{'e2u'}[$n]} //= $n