Condition Coverage

blib/lib/Lingua/EN/Grammarian.pm
Criterion Covered Total %
condition 32 61 52.4


and 3 conditions

line !l l&&!r l&&r condition
41 0 2 0 $exported_sub =~ /^(?:get_|extract_)/ and $impl
555 0 0 0 $findex <= $index_or_line and $index_or_line <= $tindex
0 0 0 $findex <= $index_or_line and $index_or_line <= $tindex and $findex != (${$prev_findex_ref;} // -1)
590 0 0 0 @regexes and length($regexes[-1]) + length($alternative) + 10 < $VIM_REGEX_MAX_LEN

or 2 conditions

line l !l condition
201 422 7 $+{'defn'} // ''
351 5 14 $modifier //= ''
555 0 0 ${$prev_findex_ref;} // -1
669 0 0 $EXPLANATION_FOR{lc &Lingua::EN::Grammarian::_rewrite(sub { s/\s+/ /g; } , $match_for{$self})} // 'Repeated word'
683 0 0 $CORRECTIONS_FOR{lc &Lingua::EN::Grammarian::_rewrite(sub { s/\s+/ /g; } , $term)} // [$term =~ /\A (\S+) \s+ \1 \z/imsx ? $1 : ()]

or 3 conditions

line l !l&&r !l&&!r condition
124 170 0 0 $PRONOUN_EXPANSION_FOR{$pronoun} // $pronoun
269 2 1 247 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/
3 0 247 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/
1 0 247 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/
0 0 247 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$//
0 0 247 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$// or $verb =~ s/^(are|were)$/be/
0 0 247 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$// or $verb =~ s/^(are|were)$/be/ or $verb =~ s/^(had)$/hav/
0 1 246 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$// or $verb =~ s/^(are|were)$/be/ or $verb =~ s/^(had)$/hav/ or $verb =~ s/(hoe)$/$1/
1 50 196 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$// or $verb =~ s/^(are|were)$/be/ or $verb =~ s/^(had)$/hav/ or $verb =~ s/(hoe)$/$1/ or $verb =~ s/([^e])e$/$1/
51 3 193 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$// or $verb =~ s/^(are|were)$/be/ or $verb =~ s/^(had)$/hav/ or $verb =~ s/(hoe)$/$1/ or $verb =~ s/([^e])e$/$1/ or $verb =~ /er$/
53 1 192 $verb =~ s/ie$/y/ or $verb =~ s/ue$/u/ or $verb =~ s/([auy])e$/$1/ or $verb =~ s/ski$/ski/ or $verb =~ s/[^b]i$// or $verb =~ s/^(are|were)$/be/ or $verb =~ s/^(had)$/hav/ or $verb =~ s/(hoe)$/$1/ or $verb =~ s/([^e])e$/$1/ or $verb =~ /er$/ or $verb =~ /open$/
397 6147 1519 1 shift @insertions //
449 14459 2865 0 $$correction[$next] // $$correction[-1]