Branch Coverage

blib/lib/PDF/API2/Resource/Font/CoreFont.pm
Criterion Covered Total %
branch 38 60 63.3


line true false branch
97 0 53 if ($@)
105 13312 256 unless (defined $font->{'uni'}[$n])
117 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 ? :
139 0 53 if (-f $name)
146 0 53 if $alias->{$lookname}
149 0 53 if (defined $options{'-metrics'}) { }
156 0 53 unless $data->{'fontname'}
158 0 53 if ref $class
160 0 53 unless $self->is_obj($pdf)
162 0 53 if $options{'-dokern'}
166 0 53 if ($options{'-pdfname'})
170 15 38 unless ($self->data->{'iscore'})
177 21 3 if ($is_standard and not $self->issymbol and not $options{'-encode'})
201 0 54 if $name eq "Courier"
202 0 54 if $name eq "Courier-Bold"
203 0 54 if $name eq "Courier-BoldOblique"
204 0 54 if $name eq "Courier-Oblique"
205 22 32 if $name eq "Helvetica"
206 0 32 if $name eq "Helvetica-Bold"
207 0 32 if $name eq "Helvetica-BoldOblique"
208 0 32 if $name eq "Helvetica-Oblique"
209 0 32 if $name eq "Symbol"
210 1 31 if $name eq "Times-Bold"
211 0 31 if $name eq "Times-BoldItalic"
212 0 31 if $name eq "Times-Italic"
213 1 30 if $name eq "Times-Roman"
214 1 29 if $name eq "ZapfDingbats"