Condition Coverage

blib/lib/Lingua/DetectCyrillic.pm
Criterion Covered Total %
condition 4 45 8.8


and 3 conditions

line !l l&&!r l&&r condition
277 0 0 0 $BestCoding1 =~ /koi/ and $BestCoding2 =~ /koi/
279 0 0 0 %Stat->{$Coding}{'GoodTokensCount'} > 0 and %Stat->{$Coding}{'CharsUkr'} / %Stat->{$Coding}{'GoodTokensCount'} > $UkrTokensShare
287 0 0 0 $BestCoding1 =~ /(win1251|mac)/ and $BestCoding2 =~ /(win1251|mac)/
289 0 0 0 %Stat->{$Coding}{'GoodTokensCount'} > 0 and %Stat->{$Coding}{'CharsUkr'} / %Stat->{$Coding}{'GoodTokensCount'} > $UkrTokensShare
336 0 0 0 $WordsRating[0][2] > 0 and $WordsRating[0][2] > $WordsRating[1][2]
374 0 0 0 $HashRating[0][2] > 0 and $HashRating[0][2] > $HashRating[1][2]
408 0 0 0 %Stat->{$Coding}{'GoodTokensCount'} > 0 and %Stat->{$Coding}{'CharsUkr'} / %Stat->{$Coding}{'GoodTokensCount'} > $UkrTokensShare
458 0 0 0 $Args{'DetectAllLang'} and /[$RusCharset{'Ukrainian'}]/
467 21 0 0 /[$RusCharset{'All'}]/ and /^[\w\d$RusCharset{'All'}]+$/
472 0 0 0 $Args{'DetectAllLang'} and /[$RusCharset{'Ukrainian'}]/
479 0 0 0 $Args{'DetectAllLang'} and $DictUkr{$_}
483 0 0 0 $Args{'DetectAllLang'} and $WordHash2Ukr{substr $_, $i, 2}

or 3 conditions

line l !l&&r !l&&!r condition
120 0 0 1 not $Outfile or uc $Outfile eq 'STDOUT'
452 0 0 21 /^[$RusCharset{'Lower'}]+$/ or /^[$RusCharset{'Upper'}]{1}[$RusCharset{'Lower'}]+$/
0 0 21 /^[$RusCharset{'Lower'}]+$/ or /^[$RusCharset{'Upper'}]{1}[$RusCharset{'Lower'}]+$/ or /^[$RusCharset{'Upper'}]+$/