houdini/houdini_xml_e.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 28 | 39.2 |
line | true | false | branch |
---|---|---|---|
71 | 5 | 2 | while (i < size) { |
76 | 21 | 1 | while (i < size) { |
82 | 17 | 4 | if (!code) { |
84 | 0 | 4 | } else if (code >= CODE_INVALID) { |
86 | 0 | 0 | } else if (code > size - end) { |
92 | 0 | 0 | while (--code) { |
94 | 0 | 0 | if ((byte & 0xc0) != 0x80) { |
103 | 0 | 0 | if (chr < 0x80) |
107 | 0 | 0 | if (chr < 0x800 || |
108 | 0 | 0 | (chr > 0xd7ff && chr < 0xe000) || |
113 | 0 | 0 | if (chr < 0x10000 || chr > 0x10ffff) |
119 | 0 | 0 | if (code == CODE_INVALID) |
125 | 3 | 2 | if (end > start) |
129 | 4 | 1 | if (end >= size) |