Condition Coverage

blib/lib/Finance/CompanyNames.pm
Criterion Covered Total %
condition 18 39 46.1


and 3 conditions

line !l l&&!r l&&r condition
166 2 4 0 length $lexem >= 3 and exists $Finance::CompanyNames::abbrevs{$lexem}
195 0 0 1 $kk == 1 and $Finance::CompanyNames::quants{$lexem} == 1
0 0 1 $kk == 1 and $Finance::CompanyNames::quants{$lexem} == 1 and not exists $$Finance::CompanyNames::stems{$lower}
0 0 1 $kk == 1 and $Finance::CompanyNames::quants{$lexem} == 1 and not exists $$Finance::CompanyNames::stems{$lower} and not exists $$Finance::CompanyNames::dict{$lower}
0 0 1 $kk == 1 and $Finance::CompanyNames::quants{$lexem} == 1 and not exists $$Finance::CompanyNames::stems{$lower} and not exists $$Finance::CompanyNames::dict{$lower} and not $allUpper
237 1 1 4 !$isMatch || $i >= $nLex - 1 and $chainBegin != -1
239 4 0 0 exists $Finance::CompanyNames::quants{$lexem} and $Finance::CompanyNames::quants{$lexem} < 0.25
286 1 0 0 $j < $n and $i < scalar @$lexems
359 0 1 0 $ticker =~ /[\w]+/ and $name =~ /[\w]+/
410 1 0 1 not $done and $i + $len < scalar @$words

or 3 conditions

line l !l&&r !l&&!r condition
237 5 0 1 !$isMatch || $i >= $nLex - 1
245 1 0 3 $i > $lastMatch + $wordBuff or $i >= $nLex - 1
322 0 0 0 $allUpper || length $lexem > 2