Condition Coverage

blib/lib/PDF/API2/Resource/UniFont.pm
Criterion Covered Total %
condition 6 12 50.0


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 defined $font->{'blocks'} and ref $font->{'blocks'} eq "ARRAY"
61 0 0 0 defined $font->{'codes'} and ref $font->{'codes'} eq "ARRAY"
145 2 6 1 defined $last_font_number and $font_number != $last_font_number

or 3 conditions

line l !l&&r !l&&!r condition
111 4 2 12 scalar @blocks == 0 or $blocks[-1][0] != $font_number