Branch Coverage

blib/lib/Regexp/Keywords.pm
Criterion Covered Total %
branch 22 44 50.0


line true false branch
109 2 0 if (exists $parms{$key}) { }
218 1 0 if (exists $valid_parms{$key}) { }
219 1 0 if $valid_parms{$key} and $$self{$key} ne $value
220 1 0 if $valid_parms{$key} == 2 and $$self{$key} ne $value
228 0 1 if $reparse_needed and $$self{'query'}
229 0 1 if $rebuild_needed and $$self{'parsed_query'}
244 0 1 unless exists $$self{$key}
296 0 0 unless $$self{'ok'}
315 0 20 unless $$self{'ok'}
331 0 1 unless $$self{'ok'}
372 0 24 unless $expr
374 0 24 $partial_words ? :
376 0 24 $multi_words == 1 ? :
378 12 54 $1 ? :
381 24 0 $ignore_case ? :
390 0 24 unless defined $query
395 1 23 if ($texted_ops)
409 0 24 if $query =~ /[^\w\.\^\!\|\&\(\)]|^\||[\|\!]$|[\&\|\(\!][\&\|\)]|\![^\w\.\(]/
412 0 24 unless $query =~ /[\w\.]/
420 0 0 $1 eq '(' ? :
0 24 if $pairs =~ /([\(\)])/
428 0 4 $1 ? :