Condition Coverage

blib/lib/PDF/Builder/Resource/CIDFont/CJKFont.pm
Criterion Covered Total %
condition 5 25 20.0


and 3 conditions

line !l l&&!r l&&r condition
103 1 0 0 defined $opts{'-encode'} and not defined $opts{'encode'}
117 0 1 0 defined $pdf and not $self->is_obj($pdf)
121 0 1 0 defined $opts{'encode'} and $opts{'encode'} ne "ident"
197 0 0 0 ref $self->data->{'wx'} eq "ARRAY" and defined $self->data->{'wx'}[$i]
0 0 0 ref $self->data->{'wx'} eq "ARRAY" and defined $self->data->{'wx'}[$i] and $self->data->{'wx'}[$i] != $self->missingwidth
0 0 0 ref $self->data->{'wx'} eq "HASH" and defined $self->data->{'wx'}{$i}
0 0 0 ref $self->data->{'wx'} eq "HASH" and defined $self->data->{'wx'}{$i} and $self->data->{'wx'}{$i} != $self->missingwidth

or 2 conditions

line l !l condition
104 0 1 $opts{'encode'} ||= "ident"
115 0 1 $data->{'apiname'} // ""