Condition Coverage

blib/lib/SWF/Builder/Character/Font/TTF.pm
Criterion Covered Total %
condition 11 32 34.3


and 2 conditions

line l !l condition
58 1 0 $$os2{'fsType'} && 0

or 3 conditions

line l !l&&r !l&&!r condition
25 1 0 0 'Font::TTF::Font'->open($fontfile) || 'Font::TTF::Ttc'->open($fontfile)
54 1 0 0 $$font{'name'} || $$p_font{'name'}
56 1 0 0 $$font{'OS/2'} || $$p_font{'OS/2'}
71 1 0 0 $$font{'head'} || $$p_font{'head'}
73 1 0 0 $$font{'hhea'} || $$p_font{'hhea'}
75 1 0 0 $$font{'cmap'} || $$p_font{'cmap'}
77 1 0 0 $$font{'loca'} || $$p_font{'loca'}
79 1 0 0 $$font{'hmtx'} || $$p_font{'hmtx'}
81 0 0 1 $$font{'kern'} || $$p_font{'kern'}
95 1 0 0 $cmap->find_ms || croak("Can't find unicode cmap table in the font $fontname")