Condition Coverage

lib/Badger/Data/Facet/Text/Pattern.pm
Criterion Covered Total %
condition 4 6 66.6


or 3 conditions

line l !l&&r !l&&!r condition
11 1 1 0 $self->{'regex'} ||= qr/$self->{'pattern'}/
15 1 1 0 $$text =~ /$regex/ || $self->invalid_msg('pattern', $type || 'Text', $self->{'pattern'}, $$text)