Branch Coverage

blib/lib/Plucene/Search/PhraseQuery.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
63 10 11 if (@{$self->terms;} == 0) { }
0 11 elsif ($self->field ne $term->field) { }
99 0 6 unless @{$$self{'terms'};}
100 0 6 if (@{$$self{'terms'};} == 1)
103 0 0 unless $docs
114 0 13 unless $tp
118 3 3 $self->slop == 0 ? :
138 5 1 if $field ne $self->field
140 1 5 if $self->slop
141 0 6 if $self->boost != 1