Condition Coverage

blib/lib/PDF/API3/Compat/API2/Resource/BaseFont.pm
Criterion Covered Total %
condition 0 56 0.0


and 3 conditions

line !l l&&!r l&&r condition
153 0 0 0 UNIVERSAL::can($self, 'uniByCId') and UNIVERSAL::can($self, 'glyphNum')
666 0 0 0 $$self{-'dokern'} and ref $self->data->{'kern'}
748 0 0 0 $$self{-'dokern'} and ref $self->data->{'kern'}
790 0 0 0 defined $size and $$self{-'dokern'}
793 0 0 0 defined $ident and $ident != 0
804 0 0 0 defined $ident and $ident != 0

or 2 conditions

line l !l condition
110 0 0 $_ || 0
114 0 0 $self->ascender || 0
115 0 0 $self->descender || 0
116 0 0 $self->italicangle || 0
117 0 0 $self->xheight || ($self->fontbbox)[3] * 0.5 || 500
118 0 0 $self->capheight || ($self->fontbbox)[3] || 800
119 0 0 $self->stemv || 0
120 0 0 $self->stemh || 0
121 0 0 $self->avgwidth || 300
122 0 0 $self->missingwidth || 300
124 0 0 $self->flags || 0
486 0 0 $_[0]->data->{'n2e'}{$_[1]} || 0
494 0 0 $_[0]->data->{'u2e'}{$_[1]} || $_[0]->data->{'u2c'}{$_[1]} || 0
502 0 0 $_[0]->data->{'n2c'}{$_[1]} || 0
510 0 0 $_[0]->data->{'u2c'}{$_[1]} || 0
520 0 0 $_[0]->data->{'u2n'}{$_[1]} || '.notdef'

or 3 conditions

line l !l&&r !l&&!r condition
123 0 0 0 $self->maxwidth || $self->missingwidth || ($self->fontbbox)[2]
304 0 0 0 $aw ||= ($self->wxByGlyph('a') * 64 + $self->wxByGlyph('b') * 14 + $self->wxByGlyph('c') * 27 + $self->wxByGlyph('d') * 35 + $self->wxByGlyph('e') * 100 + $self->wxByGlyph('f') * 20 + $self->wxByGlyph('g') * 14 + $self->wxByGlyph('h') * 42 + $self->wxByGlyph('i') * 63 + $self->wxByGlyph('j') * 3 + $self->wxByGlyph('k') * 6 + $self->wxByGlyph('l') * 35 + $self->wxByGlyph('m') * 20 + $self->wxByGlyph('n') * 56 + $self->wxByGlyph('o') * 56 + $self->wxByGlyph('p') * 17 + $self->wxByGlyph('q') * 4 + $self->wxByGlyph('r') * 49 + $self->wxByGlyph('s') * 56 + $self->wxByGlyph('t') * 71 + $self->wxByGlyph('u') * 31 + $self->wxByGlyph('v') * 10 + $self->wxByGlyph('w') * 18 + $self->wxByGlyph('x') * 3 + $self->wxByGlyph('y') * 18 + $self->wxByGlyph('z') * 2 + $self->wxByGlyph('A') * 64 + $self->wxByGlyph('B') * 14 + $self->wxByGlyph('C') * 27 + $self->wxByGlyph('D') * 35 + $self->wxByGlyph('E') * 100 + $self->wxByGlyph('F') * 20 + $self->wxByGlyph('G') * 14 + $self->wxByGlyph('H') * 42 + $self->wxByGlyph('I') * 63 + $self->wxByGlyph('J') * 3 + $self->wxByGlyph('K') * 6 + $self->wxByGlyph('L') * 35 + $self->wxByGlyph('M') * 20 + $self->wxByGlyph('N') * 56 + $self->wxByGlyph('O') * 56 + $self->wxByGlyph('P') * 17 + $self->wxByGlyph('Q') * 4 + $self->wxByGlyph('R') * 49 + $self->wxByGlyph('S') * 56 + $self->wxByGlyph('T') * 71 + $self->wxByGlyph('U') * 31 + $self->wxByGlyph('V') * 10 + $self->wxByGlyph('W') * 18 + $self->wxByGlyph('X') * 3 + $self->wxByGlyph('Y') * 18 + $self->wxByGlyph('Z') * 2 + $self->wxByGlyph('space') * 332) / 2000