Branch Coverage

File:lib/CheckSpelling/Homoglyph.pm
Coverage:100.0%

line%coveragebranch
18100TFunless open my $fh, "<:encoding(UTF-8)", $file
24100TFif /^#/
26100TFunless /^($upper_pattern|$lower_pattern|$punctuation_pattern)((?:(?!$upper_pattern|$lower_pattern|$punctuation_pattern).)+)$/
33100TFif (defined $homoglyph_map{$ch})
46100TFif (scalar @known_aliases == 1) { }