Condition Coverage

File:lib/CheckSpelling/UnknownWordSplitter.pm
Coverage:62.9%

line%coveragecondition
8467
ABdec
0X0
100
111
$hint eq "" and defined $1
13667
ABdec
0X0
100
111
defined $thing && $thing ne '' && $thing =~ /^\d+$/u
15450
ABCdec
0XX0
10X0
1100
1111
defined $CheckSpelling::UnknownWordSplitter::shortest and not_empty($CheckSpelling::UnknownWordSplitter::longest) and $CheckSpelling::UnknownWordSplitter::shortest > $CheckSpelling::UnknownWordSplitter::longest
17867
ABdec
0X0
100
111
$CheckSpelling::UnknownWordSplitter::check_homoglyphs and $CheckSpelling::UnknownWordSplitter::check_homoglyphs ne "false"
26833
ABdec
000
011
1X1
$in_patterns_re_list{$_} || !test_re($quoted)
3850
ABCdec
0XX0
10X0
1100
1111
-e $ocr_file and -e $ocr_source_sha and open my $source_sha, "<", $ocr_source_sha
44867
ABdec
0X0
100
111
defined readlink $file and rindex("File::Spec"->abs2rel(abs_path($file)), "../", 0) == 0
46833
ABdec
0X0
100
111
$CheckSpelling::UnknownWordSplitter::check_images and $file_kind =~ m[^image/]u
47167
ABdec
0X0
100
111
$file_converted == 0 and $file_kind =~ /^(.*?); charset=binary/u
498100
ABdec
0X0
100
111
$dos_new_lines >= $unix_new_lines and $dos_new_lines >= $mac_new_lines
100
ABdec
0X0
100
111
$unix_new_lines == 0 and $mac_new_lines == 0
530100
ABdec
0X0
100
111
$file_size >= 512 and length $_ == $file_size
580100
Adec
00
11
$CheckSpelling::UnknownWordSplitter::forbidden_re_descriptions{$found_trigger_re} || ''
60633
ABdec
0X0
100
111
defined $CheckSpelling::UnknownWordSplitter::longest_word && $CheckSpelling::UnknownWordSplitter::longest_word =~ /^\d+$/u
64633
ABdec
0X0
100
111
not $raw_line =~ /$token.*$token/u and $raw_line =~ /($token)/u
657100
ABdec
0X0
100
111
$line_flagged and $CheckSpelling::UnknownWordSplitter::candidates_re
66467
ABdec
0X0
100
111
$candidate_re =~ /./u and $raw_line =~ /$candidate_re/u
70175
ABCdec
0000
0011
01X1
1XX1
$CheckSpelling::UnknownWordSplitter::unrecognized or @candidates_re_hits or @forbidden_re_hits