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
280 214 0 6 $self->{'suppress'} and @{$self->{'suppress'};}
310 11 199 10 22 <= $self->{'UCA_Version'} && $self->{'UCA_Version'} <= 24
404 218244 421 424 defined $self->{'undefName'} and $name =~ /$self->{'undefName'}/
414 91129 122827 4709 @uv > 1 and $self->{'suppressHash'}
122827 14 4695 @uv > 1 and $self->{'suppressHash'} and not $tailoring
122841 4685 10 @uv > 1 and $self->{'suppressHash'} and not $tailoring and exists $self->{'suppressHash'}{$uv[0]}
422 845 841 4 defined $self->{'undefChar'} and $ele =~ /$self->{'undefChar'}/
426 841 841 4 defined $self->{'ignoreChar'} and $ele =~ /$self->{'ignoreChar'}/
431 217803 424 424 defined $self->{'ignoreName'} and $name =~ /$self->{'ignoreName'}/
500 736 57352 1304 $vers >= 9 && $vers <= 11
512 59246 14 132 $reH and not $wLen
514 163 4 13 exists $$reH{$src[$i]} and $i + 1 < @src
523 79806 4813 75 $vers <= 20 and _isIllegal($src[$i])
527 1112 21 0 $uXS && _ignorable_simple($src[$i])
537 182 0 15 $wLen and @buf
551 9282 3944 13298 $jcpsLen < $maxLen and $p < @src
582 4 151 64 $preCC != $curCC and exists $$map{$jcps . $tail}
591 0 40 79 $preCC_uc != $curCC and exists $$map{$jcps_uc . $tail} || exists $$cont{$jcps_uc . $tail}
601 125 1 39 @out_uc and exists $map->{$jcps_uc}
611 10809 29028 54 $uXS && !($jcps =~ /;/) && _ignorable_simple($jcps)
613 232 8 94 $wLen and @buf
655 72229 122 132 $u eq 65535 and $self->{'highestFFFF'}
656 72282 47 22 $u eq 65534 and $self->{'minimalFFFE'}
657 10020 62231 78 not $u =~ /;/ and 1114111 < $u
72251 72 6 not $u =~ /;/ and 1114111 < $u and not $out
660 10779 12208 16698 $uXS and _exists_simple($u)
17782 5067 138 44032 <= $u and $u <= 55203
22674 103 72 $out and 1114111 < $u
691 6 52 2 @decH == 3 and exists $$max{$decH[1]}
698 36 0 100 $uXS && _exists_simple($_)
708 8981 2041 11755 $cjk and _isUIdeo($u, $vers)
10455 56 511 $vers == 8 and defined $cjk
10511 415 96 $vers == 8 and defined $cjk and _isUIdeo($u, 0)
741 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]/
759 5971 44456 8680 $vers >= 26 and $lev == 4
853 14 5 104 $self->{'UCA_Version'} >= 9 && $self->{'variable'} ne 'non-ignorable'
887 117 13 286 @subWt and not $var
130 234 52 @subWt and not $var and not $wt[0]
903 86 1373 1779 $i <= $end and $found_base == 0
921 115 318 1367 @strWt and not $var
433 1253 114 @strWt and not $var and not $wt[0]
937 546 859 78 @strWt == @subWt and $i > $end
938 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'
208 0 218 $self->{'alternate'} || $self->{'variableTable'} || $self->{'alternateTable'} || 'shifted'
247 35 5 $CVgetCombinClass ||= \&Unicode::Normalize::getCombinClass
295 35 185 $self->{'level'} ||= 4

or 3 conditions

line l !l&&r !l&&!r condition
208 824 219 0 $self->{'variable'} ||= $self->{'alternate'} || $self->{'variableTable'} || $self->{'alternateTable'} || 'shifted'
270 0 0 127 exists $self->{'table'} || defined $self->{'rewrite'} || defined $self->{'undefName'} || defined $self->{'ignoreName'} || defined $self->{'undefChar'} || defined $self->{'ignoreChar'}
296 26 194 0 $self->{'UCA_Version'} ||= UCA_Version()
306 0 218 0 $self->{'rearrangeTable'} || ($self->{'UCA_Version'} <= 11 ? $DefaultRearrange : [])
323 0 172 0 $self->{'versionTable'} ||= $1
326 0 0 0 $self->{'variableTable'} ||= $1
329 0 0 0 $self->{'alternateTable'} ||= $1
417 845 845 216965 defined $self->{'undefChar'} or defined $self->{'ignoreChar'}
439 335089 13250 7238 $wt[0] or $wt[1]
13250 187 7051 $wt[0] or $wt[1] or $wt[2]
452 9973 902 116651 not $self->{'maxlength'}{$uv[0]} or $self->{'maxlength'}{$uv[0]} < @uv
591 39 40 40 exists $$map{$jcps_uc . $tail} || exists $$cont{$jcps_uc . $tail}
741 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]/
759 46 14085 45022 $iden or $vers >= 26 and $lev == 4
937 819 116 1367 @strWt > @subWt or @strWt == @subWt and $i > $end