Condition Coverage

blib/lib/PDF/Builder/Resource/CIDFont.pm
Criterion Covered Total %
condition 1 74 1.3


and 3 conditions

line !l l&&!r l&&r condition
35 0 1 0 defined $pdf and not $self->is_obj($pdf)
88 0 0 0 ref $widths eq "ARRAY" and defined $widths->[$g]
0 0 0 ref $widths eq "HASH" and defined $widths->{$g}
121 0 0 0 $self->{'-dokern'} and $self->haveKernPairs
148 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"
186 0 0 0 $_ && $_ > 127 && $_ < 160
208 0 0 0 defined $size and $self->{'-dokern'}
212 0 0 0 defined $indent and $indent != 0
246 0 0 0 defined $size and $self->{'-dokern'}
0 0 0 defined $size and $self->{'-dokern'} and $self->haveKernPairs
263 0 0 0 defined $indent and $indent != 0
270 0 0 0 defined $indent and $indent != 0
296 0 0 0 $_ && $_ > 127 && $_ < 160

or 2 conditions

line l !l condition
301 0 0 $self->data->{'u2g'}{$_} or 0

or 3 conditions

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