Condition Coverage

blib/lib/KSx/Search/RegexpTermQuery.pm
Criterion Covered Total %
condition 2 14 14.2


and 3 conditions

line !l l&&!r l&&r condition
34 0 1 0 $anchor eq '^' and $mod =~ /m/
94 0 0 0 defined $prefix and index($term, $prefix) != 0

or 2 conditions

line l !l condition
24 0 1 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
118 0 0 0 my $posting ||= $plist->get_posting
119 0 0 0 $weight ||= $posting->get_freq * $posting->get_weight