Branch Coverage

blib/lib/HTML/DOM/CharacterData.pm
Criterion Covered Total %
branch 50 58 86.2


line true false branch
26 20 131 if (@_)
45 2 5 if $off < 0
48 0 5 if $len and $len < 0
52 2 3 if $off > CORE::length $text
55 2 1 defined $len ? :
60 2 6 if $off < 0
63 0 6 if $len and $len < 0
67 2 4 if $off > CORE::length $text
70 3 1 &desurrogify(defined $len) ? :
83 1 3 if $off < 0
87 1 2 if $off > CORE::length $text
98 1 3 if $off < 0
102 1 2 if $off > CORE::length $text
113 1 4 if $off < 0
116 0 4 if $len and $len < 0
120 1 3 if $off > CORE::length $text
124 2 1 defined $len ? :
134 1 4 if $off < 0
137 0 4 if $len and $len < 0
141 1 3 if $off > CORE::length $text
145 2 1 defined $len ? :
155 1 3 if $off < 0
158 0 3 if $len < 0
162 1 2 if $off > CORE::length $text
173 1 3 if $off < 0
176 0 3 if $len < 0
180 1 2 if $off > CORE::length $text
191 36 0 unless $_[0] eq $_[1]
219 3 0 if ($ord1 = ord substr($ret, $n, 1)) >= 55296 and $ord1 <= 56319 and ($ord2 = ord substr($ret, $n + 1, 1)) >= 56320 and $ord2 <= 57343