Branch Coverage

utf8_valid.h
Criterion Covered Total %
branch 22 22 100.0


line true false branch
54 13184 922 for (size_t i = 0; i < len; i++) {
60 3521 3984 return i > 0 ? i : 1;
71 37004 1194 for (size_t i = 0; i < len; i++) {
73 7733 29271 if (state == UTF8_DFA_ACCEPT)
75 10600 18671 else if (state == UTF8_DFA_REJECT)
134 1127929 17001 while (len >= 16) {
135 4709 1123220 if (state != UTF8_DFA_ACCEPT || !utf8_check_ascii_block16(s))
3090 1619 if (state != UTF8_DFA_ACCEPT || !utf8_check_ascii_block16(s))
142 2872 14129 if (state == UTF8_DFA_ACCEPT) {
143 2532 340 if (cursor)
148 11794 2335 if (cursor)