Branch Coverage

blib/lib/Search/Tools/Query.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
113 4 0 if ($re->is_phrase) { }
146 21 36 if ($self->{'regex'}{$t}->is_phrase)
164 0 0 unless ($self->{'regex'}{$t}->is_phrase)
202 0 116 unless (defined $term)
205 0 116 unless my $regex = $self->{'regex'}
206 0 116 unless (exists $regex->{$term})
275 0 3 unless (defined $text)
278 2 1 if $self->qp->stemmer
285 0 3 unless (defined $html)
288 2 1 if ($self->qp->stemmer)
304 0 31 unless defined $treat_phrases_as_singles
319 46 19 if ($treat_phrases_as_singles) { }