Branch Coverage

lib/Graphics/Fig/FontSize.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
1891 0 1 if $fontIndex < 0 or $fontIndex > 34
1892 0 1 if $fontSize < 0
1901 0 1 if ($minLeftBearing > $data->{'leftBearingMax'})
1911 0 1 if ($maxRightBearing < $data->{'rightBearingMin'})
1919 0 1 if ($maxWidth < $data->{'widthMin'})
1928 0 1 if ($maxAscent < $data->{'ascentMin'})
1938 1 0 if ($maxDescent > $data->{'descentMin'})
1972 0 1 if ($fontRef->[0] & 4) { }
1977 0 0 if ($fontRef->[1] >= 0) { }
1986 0 1 if $fontRef->[1] > 5
1996 0 1 unless defined $fontIndex
1997 0 1 if $fontIndex < 0 or $fontIndex > 34
2017 0 12 if $n > 255