Condition Coverage

blib/lib/Text/Layout/FontConfig.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
182 18 0 36 $style and not $weight
18 12 24 $style and not $weight and $style =~ s/^(heavy|bold|semi(?:bold)?|medium|book|light)//i
353 0 0 21 $fonts{$family} and $fonts{$family}{$style}
0 0 21 $fonts{$family} and $fonts{$family}{$style} and $fonts{$family}{$style}{$weight}
428 0 0 5 $res and $i->{'size'}

or 2 conditions

line l !l condition
185 36 18 $style // "normal"
186 24 30 $weight // "normal"
390 21 0 $style // "normal"
391 21 0 $weight // "normal"

or 3 conditions

line l !l&&r !l&&!r condition
524 0 0 0 $fonts{$family}{$style}{$weight} //= $fd