Branch Coverage

blib/lib/Text/Unicode/Equivalents.pm
Criterion Covered Total %
branch 40 54 74.0


line true false branch
74 0 26 if ($s =~ /^\pM/)
98 0 26 if ($spaceAdded)
106 0 26 if ($trace)
122 26 373 unless ($res)
128 298 101 if ($i > $#{$a;}) { }
139 225 174 if $i > 1
157 0 41 unless $s =~ /^\X$/
160 1 40 unless %cpNonStarterComposites
170 0 41 if (length $s == 1)
173 0 0 if (exists $sSingletonCompositions{$s}) { }
191 42 57 if NFD $s ne $origNFD
192 0 57 if exists $res{$s}
200 0 485 if $trace
201 193 292 if ($i >= length $s) { }
211 30 262 if (exists $sSingletonCompositions{substr $s, $i, 1})
214 0 30 if $trace
225 0 0 defined $u ? :
0 205 if $trace
226 114 91 unless defined $u
230 15 76 if (exists $sSingletonCompositions{$c})
232 0 15 if $trace
257 5660 19 if $end eq ''
259 1023 4656 if ($decomp =~ /^([[:xdigit:]]{4,6})$/o) { }
1018 3638 elsif ($decomp =~ /^([[:xdigit:]]{4,6})\s+([[:xdigit:]]{4,6})$/o) { }
270 4 1014 if getCombinClass $c or getCombinClass $d1
292 41 207 unless ($list)
297 99 149 if (not $src) { }