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
179 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
349 0 0 21 $fonts{$family} and $fonts{$family}{$style}
0 0 21 $fonts{$family} and $fonts{$family}{$style} and $fonts{$family}{$style}{$weight}
420 0 0 5 $res and $i->{'size'}

or 2 conditions

line l !l condition
182 36 18 $style // "normal"
183 24 30 $weight // "normal"
382 21 0 $style // "normal"
383 21 0 $weight // "normal"

or 3 conditions

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