Condition Coverage

blib/lib/Text/Layout/FontDescriptor.pm
Criterion Covered Total %
condition 6 13 46.1


and 3 conditions

line !l l&&!r l&&r condition
233 0 27 26 $self->{'style'} and $self->{'style'} ne "normal"
235 0 35 18 $self->{'weight'} and $self->{'weight'} ne "normal"

or 2 conditions

line l !l condition
174 0 0 $sh // 1
186 0 0 $sh // 1

or 3 conditions

line l !l&&r !l&&!r condition
90 3 2 0 $self->{'font'} ||= do { croak("Forgot to pass a layout context to get_font?") unless UNIVERSAL::isa($context, "Text::Layout"); $context->load_font($self->{'loader_data'}, $self) }