Branch Coverage

blib/lib/Search/Query/Dialect/KSx/WildcardQuery.pm
Criterion Covered Total %
branch 6 22 27.2


line true false branch
55 0 28 unless defined $term
57 0 28 unless $term =~ /[\*\?]/
59 0 28 unless defined $field
80 0 28 if ($regex{$$self} =~ m<^ (?: # prefix for qr//'s, without allowing /i : \(\? ([a-hj-z]*) (?:-[a-z]*)?: )? (\\[GA]|\^) # anchor ([^#\$()*+.?[\]\\^]+) # literal pat (no metachars or comments) >x)
91 0 0 if $anchor eq '^' and $mod =~ /m/
93 0 0 if $mod =~ /x/
99 6 22 if ($term =~ /\.[\?\*](\w+)/)
156 0 0 unless blessed $other
157 0 0 unless $other->isa('Search::Query::Dialect::KSx::WildcardQuery')
158 0 0 unless $field{$$self} eq $field{$$other}
159 0 0 unless $term{$$self} eq $term{$$other}