Condition Coverage

blib/lib/Text/MetaText/Factory.pm
Criterion Covered Total %
condition 7 22 31.8


and 3 conditions

line !l l&&!r l&&r condition
148 0 0 230 defined($type = shift @$tokens) and not ref $type
170 0 37 0 @$tokens && !ref($$tokens[0])
181 0 0 97 @$tokens and not ref $$tokens[0]

or 2 conditions

line l !l condition
234 0 0 &{$$self{'DIRECTIVE'} . '::error';} || ''
315 14 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
78 0 14 0 ref $self || $self
97 14 0 0 $$cfg{'DIRECTIVE'} || ${"${class}::DIRECTIVE";} || $Text::MetaText::Factory::DIRECTIVE
381 0 0 505 $6 or $8