| blib/lib/HarfBuzz/Shaper.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 25 | 36.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 212 | 0 | 0 | 4 | @_ > 1 and defined $text[0] |
| 238 | 0 | 0 | 2 | @_ and defined $_[0] |
| line | l | !l | condition |
|---|---|---|---|
| 90 | 0 | 4 | $opts //= {} |
| 416 | 7 | 0 | $self->{'features'} || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 150 | 4 | 0 | 0 | defined $fontfile or defined $size |
| 158 | 0 | 4 | 0 | $$self{"face_$fontfile"} //= &hb_face_create($blob, 0) |
| 159 | 0 | 4 | 0 | $$self{"font_$fontfile"} //= do { my $font = &hb_font_create($face); &hb_ot_font_set_funcs($font); $font } |
| 253 | 2 | 0 | 0 | &hb_feature_from_string($feature) || croak(qq[Unknown shaper feature: "$feature"]) |
| 423 | 2 | 0 | 0 | &hb_feature_from_string($feature) || croak(qq[Unknown shaper feature: "$feature"]) |