Branch Coverage

blib/lib/PDF/Builder/Resource/Font/BdFont.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
87 0 0 if ref $class
89 0 0 unless $self->is_obj($pdf)
108 0 0 if ($LLx < $minX)
109 0 0 if ($LLx > $maxX)
110 0 0 if ($URx < $minX)
111 0 0 if ($URx > $maxX)
112 0 0 if ($LLy < $minY)
113 0 0 if ($LLy > $maxY)
114 0 0 if ($URy < $minY)
115 0 0 if ($URy > $maxY)
122 0 0 unless defined $opts{'-style'}
130 0 0 if (defined $self->{' data'}{'FONT'})
157 0 0 if ($self->data->{'wx'}{$w->{'NAME'}} > 2500)
160 0 0 if ($self->data->{'wx'}{$w->{'NAME'}} == 0)
167 0 0 unless defined $w->{'hex'}
175 0 0 if ($widths[$w->{'ENCODING'}] < 1.05 * ($bbx[0] + $bbx[2]) * $csizeH)
189 0 0 if ($opts{'-style'} eq 'image') { }
196 0 0 if ($y == 0) { }
219 0 0 if ($BBX[1] == 0) { }
236 0 0 unless ($dots[$row][$col])
238 0 0 if ($opts{'-style'} eq 'block') { }
284 0 0 unless defined $self->data->{'n2c'}{$self->data->{'char'}[$n] or '.notdef'}
285 0 0 unless defined $self->data->{'n2e'}{$self->data->{'e2n'}[$n] or '.notdef'}
287 0 0 unless defined $self->data->{'n2u'}{$self->data->{'e2n'}[$n] or '.notdef'}
288 0 0 unless defined $self->data->{'n2u'}{$self->data->{'char'}[$n] or '.notdef'}
290 0 0 unless defined $self->data->{'u2c'}{$self->data->{'uni'}[$n]}
291 0 0 unless defined $self->data->{'u2e'}{$self->data->{'e2u'}[$n]}
293 0 0 unless defined $self->data->{'u2n'}{$self->data->{'e2u'}[$n]}
294 0 0 unless defined $self->data->{'u2n'}{$self->data->{'uni'}[$n]}
310 0 0 unless (-e $file)
313 0 0 unless open my $afmf, '<', $file
317 0 0 if (/^STARTCHAR/ .. /^ENDCHAR/) { }
318 0 0 if (/^STARTCHAR\s+(\S+)/) { }
0 0 elsif (/^BITMAP/ .. /^ENDCHAR/) { }
323 0 0 if /^BITMAP/
324 0 0 if (/^ENDCHAR/) { }
339 0 0 if (/^(\S+)\s+(.+)$/)
348 0 0 if (/^(\S+)\s+(.+)$/)
354 0 0 unless (exists $data->{'wx'}{'.notdef'})