Branch Coverage

utf8_valid.h
Criterion Covered Total %
branch 24 24 100.0


line true false branch
273 44794 13756 for (size_t i = 0; i < len; i++)
282 9075 881 for (size_t i = 0; i < len; i++) {
288 2968 1064 return i > 0 ? i : 1;
299 15090 1153 for (size_t i = 0; i < len; i++) {
301 44 15046 if (state == S_ACCEPT)
303 7127 7919 else if (state == S_ERROR)
332 871 13254 while (len >= 16) {
333 712 159 if (state != S_ACCEPT || !utf8_check_ascii_block16(s))
343 369 if (state != S_ACCEPT || !utf8_check_ascii_block16(s))
340 2639 10615 if (state == S_ACCEPT) {
341 2299 340 if (cursor)
346 8280 2335 if (cursor)