Condition Coverage

blib/lib/PDF/Builder/Resource/BaseFont.pm
Criterion Covered Total %
condition 32 77 41.5


and 3 conditions

line !l l&&!r l&&r condition
109 1 0 0 $self->can("uniByCId") and $self->can("glyphNum")
704 192 0 0 $self->{'-dokern'} && ref $self->data->{'kern'}
796 0 0 0 $self->{'-dokern'} and ref $self->data->{'kern'}
830 0 31 0 defined $size and $self->{'-dokern'}

or 2 conditions

line l !l condition
68 63 1 $_ || 0
71 16 0 $self->ascender || 0
72 16 0 $self->descender || 0
73 6 10 $self->italicangle || 0
74 16 0 $self->xheight || ($self->fontbbox)[3] * 0.5 || 500
75 16 0 $self->capheight || ($self->fontbbox)[3] || 800
76 0 16 $self->stemv || 0
77 0 16 $self->stemh || 0
78 16 0 $self->avgwidth || 300
79 1 15 $self->missingwidth || 300
81 16 0 $self->flags || 0
124 0 0 $self->uniByCId($j) // 0
515 0 0 $_[0]->data->{'n2e'}{$_[1]} || 0
526 27 0 $_[0]->data->{'u2e'}{$_[1]} || $_[0]->data->{'u2c'}{$_[1]} || 0
537 0 0 $_[0]->data->{'n2c'}{$_[1]} || 0
547 0 0 $_[0]->data->{'u2c'}{$_[1]} || 0
559 0 0 $_[0]->data->{'u2n'}{$_[1]} || '.notdef'
602 744 104 $width //= 300
623 0 0 $width //= 300
646 12021 65 $width //= 300
684 0 0 $width //= 300
711 0 0 $self->data->{'kern'}{$last_glyph . ":" . $glyph} // 0

or 3 conditions

line l !l&&r !l&&!r condition
80 1 15 0 $self->maxwidth || $self->missingwidth || ($self->fontbbox)[2]
292 0 16 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
601 744 0 104 $width //= $self->missingwidth
622 0 0 0 $width //= $self->missingwidth
645 11946 75 65 $width //= $self->missingwidth
683 0 0 0 $width //= $self->missingwidth
707 1985 406 0 $cache[$n] //= $self->wxByEnc($n)