| blib/lib/Text/Layout/FontConfig.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 26 | 53.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 187 | 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 | |
| 358 | 0 | 0 | 21 | $fonts{$family} and $fonts{$family}{$style} |
| 0 | 0 | 21 | $fonts{$family} and $fonts{$family}{$style} and $fonts{$family}{$style}{$weight} | |
| 433 | 0 | 0 | 5 | $res and $i->{'size'} |
| line | l | !l | condition |
|---|---|---|---|
| 190 | 36 | 18 | $style // "normal" |
| 191 | 24 | 30 | $weight // "normal" |
| 395 | 21 | 0 | $style // "normal" |
| 396 | 21 | 0 | $weight // "normal" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 529 | 0 | 0 | 0 | $fonts{$family}{$style}{$weight} //= $fd |