Branch Coverage

unicode_bidirule.c
Criterion Covered Total %
branch 42 76 55.2


line true false branch
1451 0 945 if ((0x0E0000 <= cp && cp <= 0x0E0FFF) || (cp & 0x00FFFE) == 0x00FFFE)
0 0 if ((0x0E0000 <= cp && cp <= 0x0E0FFF) || (cp & 0x00FFFE) == 0x00FFFE)
0 945 if ((0x0E0000 <= cp && cp <= 0x0E0FFF) || (cp & 0x00FFFE) == 0x00FFFE)
1453 0 945 else if (0x10FFFF < cp)
1455 1 944 else if (0x020000 <= cp)
1506 765 268 while (p < end4) {
1523 0 421 if ((p[1] & 0xC0) != 0x80)
1531 145 0 if ((vec & 0x00F0C0C0) != 0x00E08080 || vec < 0x00E0A080)
145 0 if ((vec & 0x00F0C0C0) != 0x00E08080 || vec < 0x00E0A080)
1541 4 0 if ((vec & 0xF8C0C0C0) != 0xF0808080 || vec < 0xF0908080)
4 0 if ((vec & 0xF8C0C0C0) != 0xF0808080 || vec < 0xF0908080)
1549 0 0 if (pptr != NULL)
1551 0 0 if (lenptr != NULL)
1553 0 0 if (ulenptr != NULL)
1555 0 0 if (idxptr != NULL)
1557 0 0 if (cpptr != NULL)
1566 131 814 if (prop_before == 0) {
1592 8 0 if (strict)
1597 59 755 } else if (prop == BDR_NSM) {
1611 27 73 if (direction != BDR_RTL)
1617 4 2 if (has_en)
1619 0 2 else if (direction != BDR_RTL)
1627 0 208 if (has_an)
1639 4 415 if (direction == BDR_RTL)
1644 0 0 if (direction == BDR_RTL)
1646 0 0 else if (strict)
1659 180 88 if (p < end) {
1660 180 0 if (p + utf8_sequence_len[*p] <= end)
1669 34 4 switch (prop) {
1681 42 4 switch (prop) {
1691 28 56 if (pptr != NULL)
1693 28 56 if (idxptr != NULL)
1698 0 47 if (pptr != NULL)
1700 0 47 if (lenptr != NULL)
1702 0 47 if (ulenptr != NULL)
1704 0 47 if (idxptr != NULL)
1706 0 47 if (cpptr != NULL)
1709 0 47 switch (prop) {