Branch Coverage

blib/lib/KinoSearch1/Searcher.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
35 39 0 if (not defined $$self{'reader'})
38 36 3 if (blessed($$self{'invindex'}) and $$self{'invindex'}->isa('KinoSearch1::Store::InvIndex')) { }
3 0 elsif (defined $$self{'invindex'}) { }
68 28 254 @_ == 1 ? :
72 0 282 unless verify_args(\%search_args, %args)
75 41 241 unless (a_isa_b($args{'query'}, 'KinoSearch1::Search::Query'))
108 0 285 unless verify_args(\%search_hit_collector_args, @_)
113 1 284 if (defined $args{'filter'})
122 253 32 if (defined $scorer)
148 279 0 if 0 + $rewritten == 0 + $query
156 0 0 if $$self{'close_reader'}