| blib/lib/Text/Layout/FontConfig.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 33 | 45.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 188 | 22 | 0 | 51 | $style and not $weight |
| 22 | 17 | 34 | $style and not $weight and $style =~ s/^(heavy|bold|semi(?:bold)?|medium|book|light)//i | |
| 453 | 0 | 0 | 0 | $k =~ /^(Courier|Times|Helvetica)$/ and defined $fonts{lc $v} |
| 517 | 0 | 0 | 27 | $fonts{$family} and $fonts{$family}{$style} |
| 0 | 0 | 27 | $fonts{$family} and $fonts{$family}{$style} and $fonts{$family}{$style}{$weight} | |
| 592 | 0 | 0 | 7 | $res and $i->{'size'} |
| line | l | !l | condition |
|---|---|---|---|
| 191 | 51 | 22 | $style // "normal" |
| 192 | 34 | 39 | $weight // "normal" |
| 381 | 0 | 5 | $options{'remap'} //= "" |
| 554 | 27 | 0 | $style // "normal" |
| 555 | 27 | 0 | $weight // "normal" |
| 683 | 0 | 0 | $sel // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 692 | 0 | 0 | 0 | $fonts{$family}{$style}{$weight} //= $fd |