Branch Coverage

blib/lib/PDF/API2/Resource/Font/CoreFont.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
105 0 53 if ($@)
113 13312 256 unless (defined $font->{'uni'}[$n])
125 0 0 do { ref $this eq 'CODE' } ? :
107 0 do { ref $this eq 'HASH' } ? :
291 107 do { ref $this eq 'ARRAY' } ? :
398 31345 ref $this ? :
147 0 53 if (-f $name)
154 0 53 if $alias->{$lookname}
157 0 53 if (defined $options{'-metrics'}) { }
164 0 53 unless $data->{'fontname'}
166 0 53 if ref $class
168 0 53 unless $self->is_obj($pdf)
170 0 53 if $options{'-dokern'}
174 0 53 if ($options{'-pdfname'})
178 15 38 unless ($self->data->{'iscore'})
185 21 3 if ($is_standard and not $self->issymbol and not $options{'-encode'})
222 2 1 wantarray ? :