Branch Coverage

blib/lib/PostScript/FontInfo.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
31 0 1 unless defined $font
39 0 0 if $error eq 'die'
40 0 0 if $error eq 'warn'
47 0 1 if ($@)
75 0 1 unless $fh->open($fn)
76 0 1 if $$self{'verbose'}
84 0 1 if $$self{'trace'}
85 0 1 unless $sz == $len
90 0 1 unless ($data =~ /^FontName\s+\(\S+\)$/m)
96 1 0 if $data =~ /^FontName\s+\((\S+)\)$/im
97 1 0 if $data =~ /^FullName\s+\((.+?)\)$/im
98 1 0 if $data =~ /^FamilyName\s+\((.+)\)$/im
99 1 0 if $data =~ /^Version\s+\((.+)\)$/im
100 1 0 if $data =~ /^PCFileNamePrefix\s+\((.+)\)$/im