Condition Coverage

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

line%coveragecondition
105100
ABdec
0X0
100
111
defined $thing && $thing ne ''
12350
ABCdec
0XX0
10X0
1100
1111
defined $CheckSpelling::UnknownWordSplitter::shortest and not_empty($CheckSpelling::UnknownWordSplitter::longest) and $CheckSpelling::UnknownWordSplitter::shortest > $CheckSpelling::UnknownWordSplitter::longest
22433
ABdec
000
011
1X1
$in_patterns_re_list{$_} || !test_re($quoted)
383100
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
414100
ABdec
0X0
100
111
$file_size >= 512 and length $_ == $file_size
49733
ABdec
0X0
100
111
not $raw_line =~ /$token.*$token/u and $raw_line =~ /($token)/u
508100
ABdec
0X0
100
111
$line_flagged and $CheckSpelling::UnknownWordSplitter::candidates_re
51567
ABdec
0X0
100
111
$candidate_re =~ /./u and $raw_line =~ /$candidate_re/u
55075
ABCdec
0000
0011
01X1
1XX1
$CheckSpelling::UnknownWordSplitter::unrecognized or @candidates_re_hits or @forbidden_re_hits