Branch Coverage

blib/lib/Search/Lemur.pm
Criterion Covered Total %
branch 23 32 71.8


line true false branch
72 3 1 if (@_) { }
121 1 0 if (@_)
147 0 0 unless $$self{'baseurl'}
172 0 0 if ($return eq '[OOV]')
189 4 20 if ($line =~ /(\d*): ([\w|\d|\s]*) (NOSTOP|STOP) (NOSTEMM|STEMM);/) { }
4 16 elsif ($line =~ / NUM_DOCS = ?(\d*);/) { }
4 12 elsif ($line =~ / NUM_UNIQUE_TERMS = ?(\d*);/) { }
4 8 elsif ($line =~ / NUM_TERMS = ?(\d*);/) { }
4 4 elsif ($line =~ / AVE_DOCLEN = ?(\d*);/) { }
4 0 elsif ($line =~ /
/) { }
192 2 2 $3 eq 'STOP' ? :
193 2 2 $4 eq 'STEMM' ? :
225 0 2 if $response[0] eq ''
263 3 4 if ($$self{'d'})
264 1 6 if ($$self{'n'})
291 0 0 if ($res->is_success) { }