Condition Coverage

blib/lib/PDF/Builder/Resource/CIDFont.pm
Criterion Covered Total %
condition 1 80 1.2


and 3 conditions

line !l l&&!r l&&r condition
41 0 1 0 defined $pdf and not $self->is_obj($pdf)
157 0 0 0 ref $widths eq "ARRAY" and defined $widths->[$g]
0 0 0 ref $widths eq "HASH" and defined $widths->{$g}
243 0 0 0 $self->{'-dokern'} and $self->haveKernPairs
277 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"
321 0 0 0 $_ && $_ > 127 && $_ < 160
388 0 0 0 defined $wordspace && defined $fontsize
406 0 0 0 defined $size and $self->{'-dokern'}
410 0 0 0 defined $indent and $indent != 0
479 0 0 0 defined $size and $self->{'-dokern'}
0 0 0 defined $size and $self->{'-dokern'} and $self->haveKernPairs
496 0 0 0 defined $indent and $indent != 0
503 0 0 0 defined $indent and $indent != 0
541 0 0 0 $_ && $_ > 127 && $_ < 160

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
388 0 0 0 not defined $wordspace && defined $fontsize or $fontsize <= 0
556 0 0 0 $self->data->{'u2e'}{$self->data->{'e2u'}[$n]} //= $n