Branch Coverage

blib/lib/Locale/CLDR/Collator.pm
Criterion Covered Total %
branch 17 66 25.7


line true false branch
7038 46 184 unless eval "'a' =~ qr/\\p{$missing}|a/"
7049 516 0 unless defined $regex
7053 0 0 if $missing_unicode_properties{$missing}
7128 0 0 if ($character =~ $self->_fix_missing_unicode_properties('(?!\\p{Cn})(?:\\p{Block=Tangut}|\\p{Block=Tangut_Components}|\\p{Block=Tangut_Supplement})')) { }
0 0 elsif ($character =~ $self->_fix_missing_unicode_properties('(?!\\p{Cn})\\p{Block=Nushu}')) { }
0 0 elsif ($character =~ $self->_fix_missing_unicode_properties('(?=\\p{Unified_Ideograph=True})(?:\\p{Block=CJK_Unified_Ideographs}|\\p{Block=CJK_Compatibility_Ideographs})')) { }
0 0 elsif ($character =~ $self->_fix_missing_unicode_properties('(?=\\p{Unified_Ideograph=True})(?!\\p{Block=CJK_Unified_Ideographs})(?!\\p{Block=CJK_Compatibility_Ideographs})')) { }
7153 516 0 if $self->alternate eq "noignore"
7156 0 0 if ($ce->[0] <= $self->max_variable_weight and $ce->[0] >= $self->min_variable_weight) { }
7158 0 0 if ($self->alternate eq "blanked")
7162 0 0 if ($self->alternate eq "shifted")
7164 0 0 if ($ce->[0] == 0 and $ce->[1] == 0 and $ce->[2] == 0) { }
7175 0 0 if ($self->_in_variable_weigting)
7176 0 0 if ($ce->[0] == 0 and $self->alternate eq 'shifted') { }
0 0 elsif ($ce->[0] != 0) { }
7181 0 0 if ($self->alternate eq "shifted")
7209 0 516 if ($self->collation_elements->{$match3}) { }
0 516 elsif ($self->collation_elements->{$match2}) { }
516 0 elsif ($self->collation_elements->{$match1}) { }
7225 516 0 if ($matched)
7227 516 0 if (not _fix_missing_unicode_properties('ccc=0') =~ /IsCLDREmpty/u) { }
0 0 elsif (not _fix_missing_unicode_properties('ccc') =~ /IsCLDREmpty/u) { }
7233 89 427 if ($regex and my($ccc) = $string =~ /$regex/u)
7236 0 89 if ($self->collation_elements->{$new_match})
7245 0 516 unless (@$ce)
7259 184 0 if $self->normalization eq "true"
7266 0 488 if ($count == 1 and $self->backwards ne 'noignore') { }
7268 0 0 if ($ce->[$count])
7275 1165 193 if ($ce->[$count])
7307 0 0 $self->cmp(@_) == 0 ? :
7313 0 0 $self->cmp(@_) == 0 ? :
7319 0 0 $self->cmp(@_) == -1 ? :
7325 0 0 $self->cmp(@_) == 1 ? :