Condition Coverage

blib/lib/Unicode/Collate.pm
Criterion Covered Total %
condition 175 200 87.5


and 3 conditions

line !l l&&!r l&&r condition
279 213 0 6 $self->{'suppress'} and @{$self->{'suppress'};}
309 11 198 10 22 <= $self->{'UCA_Version'} && $self->{'UCA_Version'} <= 24
403 216802 421 424 defined $self->{'undefName'} and $name =~ /$self->{'undefName'}/
413 89815 122704 4704 @uv > 1 and $self->{'suppressHash'}
122704 14 4690 @uv > 1 and $self->{'suppressHash'} and not $tailoring
122718 4680 10 @uv > 1 and $self->{'suppressHash'} and not $tailoring and exists $self->{'suppressHash'}{$uv[0]}
421 845 841 4 defined $self->{'undefChar'} and $ele =~ /$self->{'undefChar'}/
425 841 841 4 defined $self->{'ignoreChar'} and $ele =~ /$self->{'ignoreChar'}/
430 216361 424 424 defined $self->{'ignoreName'} and $name =~ /$self->{'ignoreName'}/
499 674 55834 1180 $vers >= 9 && $vers <= 11
511 57542 14 132 $reH and not $wLen
513 163 4 13 exists $$reH{$src[$i]} and $i + 1 < @src
522 78540 4379 75 $vers <= 20 and _isIllegal($src[$i])
526 1004 21 0 $uXS && _ignorable_simple($src[$i])
536 182 0 15 $wLen and @buf
550 9282 3944 13298 $jcpsLen < $maxLen and $p < @src
581 4 151 64 $preCC != $curCC and exists $$map{$jcps . $tail}
590 0 40 79 $preCC_uc != $curCC and exists $$map{$jcps_uc . $tail} || exists $$cont{$jcps_uc . $tail}
600 125 1 39 @out_uc and exists $map->{$jcps_uc}
610 9323 29028 54 $uXS && !($jcps =~ /;/) && _ignorable_simple($jcps)
612 232 8 94 $wLen and @buf
654 70529 122 132 $u eq 65535 and $self->{'highestFFFF'}
655 70582 47 22 $u eq 65534 and $self->{'minimalFFFE'}
656 10020 60536 73 not $u =~ /;/ and 1114111 < $u
70556 67 6 not $u =~ /;/ and 1114111 < $u and not $out
659 9293 12208 16698 $uXS and _exists_simple($u)
16902 4461 138 44032 <= $u and $u <= 55203
21198 98 67 $out and 1114111 < $u
690 6 52 2 @decH == 3 and exists $$max{$decH[1]}
697 36 0 100 $uXS && _exists_simple($_)
707 7958 1690 11648 $cjk and _isUIdeo($u, $vers)
9135 56 457 $vers == 8 and defined $cjk
9191 371 86 $vers == 8 and defined $cjk and _isUIdeo($u, 0)
740 109 112 22 $preHST and not $curHST
152 69 0 $preHST =~ /L\z/ and $curHST =~ /^T/
181 37 3 $preHST =~ /V\z/ and $curHST =~ /^L/
215 3 0 $preHST =~ /T\z/ and $curHST =~ /^[LV]/
758 5413 44442 7548 $vers >= 26 and $lev == 4
852 14 5 104 $self->{'UCA_Version'} >= 9 && $self->{'variable'} ne 'non-ignorable'
886 117 13 286 @subWt and not $var
130 234 52 @subWt and not $var and not $wt[0]
902 86 1373 1779 $i <= $end and $found_base == 0
920 115 318 1367 @strWt and not $var
433 1253 114 @strWt and not $var and not $wt[0]
936 546 859 78 @strWt == @subWt and $i > $end
937 1 3 893 $iniPos[0] != -1 and $finPos[$#subWt] != -1
4 749 144 $iniPos[0] != -1 and $finPos[$#subWt] != -1 and &_eqArray(\@strWt, \@subWt, $lev)

or 2 conditions

line l !l condition
136 6 2 $self->{'versionTable'} || 'unknown'
207 0 217 $self->{'alternate'} || $self->{'variableTable'} || $self->{'alternateTable'} || 'shifted'
246 35 5 $CVgetCombinClass ||= \&Unicode::Normalize::getCombinClass
294 35 184 $self->{'level'} ||= 4

or 3 conditions

line l !l&&r !l&&!r condition
207 792 218 0 $self->{'variable'} ||= $self->{'alternate'} || $self->{'variableTable'} || $self->{'alternateTable'} || 'shifted'
269 0 0 127 exists $self->{'table'} || defined $self->{'rewrite'} || defined $self->{'undefName'} || defined $self->{'ignoreName'} || defined $self->{'undefChar'} || defined $self->{'ignoreChar'}
295 25 194 0 $self->{'UCA_Version'} ||= UCA_Version()
305 0 217 0 $self->{'rearrangeTable'} || ($self->{'UCA_Version'} <= 11 ? $DefaultRearrange : [])
322 0 171 0 $self->{'versionTable'} ||= $1
325 0 0 0 $self->{'variableTable'} ||= $1
328 0 0 0 $self->{'alternateTable'} ||= $1
416 845 845 215523 defined $self->{'undefChar'} or defined $self->{'ignoreChar'}
438 333798 13053 7152 $wt[0] or $wt[1]
13053 187 6965 $wt[0] or $wt[1] or $wt[2]
451 9845 902 116651 not $self->{'maxlength'}{$uv[0]} or $self->{'maxlength'}{$uv[0]} < @uv
590 39 40 40 exists $$map{$jcps_uc . $tail} || exists $$cont{$jcps_uc . $tail}
740 22 0 221 $preHST and not $curHST or $preHST =~ /L\z/ and $curHST =~ /^T/
0 3 218 $preHST and not $curHST or $preHST =~ /L\z/ and $curHST =~ /^T/ or $preHST =~ /V\z/ and $curHST =~ /^L/
3 0 218 $preHST and not $curHST or $preHST =~ /L\z/ and $curHST =~ /^T/ or $preHST =~ /V\z/ and $curHST =~ /^L/ or $preHST =~ /T\z/ and $curHST =~ /^[LV]/
758 46 12395 45008 $iden or $vers >= 26 and $lev == 4
936 819 116 1367 @strWt > @subWt or @strWt == @subWt and $i > $end