Branch Coverage

precis_preparation.c
Criterion Covered Total %
branch 111 160 69.3


line true false branch
4479 153 0 if ((cp & 0x00FFFE) == 0x00FFFE
4480 152 1 || cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F)
4 148 || cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F)
4 0 || cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F)
4481 4 148 || (0x0E0100 <= cp && cp <= 0x0E01EF)
4 0 || (0x0E0100 <= cp && cp <= 0x0E01EF)
4482 4 148 || (0x0F0000 <= cp && cp <= 0x0FFFFD)
2 2 || (0x0F0000 <= cp && cp <= 0x0FFFFD)
4483 2 148 || (0x100000 <= cp && cp <= 0x10FFFD))
2 0 || (0x100000 <= cp && cp <= 0x10FFFD))
4485 0 148 else if (0x040000 <= cp)
5770 54 364 if ((0x01FFFE <= cp && (cp & 0x00FFFE) == 0x00FFFE)
54 0 if ((0x01FFFE <= cp && (cp & 0x00FFFE) == 0x00FFFE)
5771 16 402 || (0x0F0000 <= cp && cp <= 0x0FFFFD)
8 8 || (0x0F0000 <= cp && cp <= 0x0FFFFD)
5772 8 402 || (0x100000 <= cp && cp <= 0x10FFFD))
8 0 || (0x100000 <= cp && cp <= 0x10FFFD))
5774 400 2 else if (cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F))
15 385 else if (cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F))
0 15 else if (cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F))
5776 15 385 else if (0x0E0100 <= cp && cp <= 0x0E01EF)
15 0 else if (0x0E0100 <= cp && cp <= 0x0E01EF)
5778 0 385 else if (0x040000 <= cp)
6737 133 0 if (cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F)
0 133 if (cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F)
0 0 if (cp == 0x0E0001 || (0x0E0020 <= cp && cp <= 0x0E007F)
6738 0 133 || (0x0E0100 <= cp && cp <= 0x0E01EF))
0 0 || (0x0E0100 <= cp && cp <= 0x0E01EF))
6740 0 133 else if (0x040000 <= cp)
6791 89 4800 while (p < end4) {
6808 4 94 if ((p[1] & 0xC0) != 0x80)
6816 4323 4 if ((vec & 0x00F0C0C0) != 0x00E08080 || vec < 0x00E0A080)
4315 8 if ((vec & 0x00F0C0C0) != 0x00E08080 || vec < 0x00E0A080)
6821 4096 219 if ((cp & 0x00F800) == 0x00D800)
6824 89 130 if (0x00FDD0 <= cp && cp <= 0x00FDEF)
64 25 if (0x00FDD0 <= cp && cp <= 0x00FDEF)
6826 4 151 if ((cp & 0x00FFFE) == 0x00FFFE)
6834 232 2 if ((vec & 0xF8C0C0C0) != 0xF0808080 || vec < 0xF0908080)
220 12 if ((vec & 0xF8C0C0C0) != 0xF0808080 || vec < 0xF0908080)
6840 2 218 if (0x10FFFF < cp)
6843 64 154 if ((cp & 0x00FFFE) == 0x00FFFE)
6858 418 0 if (unicode_version != 0
6859 105 313 && unicode_version < precis_age_lookup(cp)) {
6864 153 160 switch (stringclass) {
6879 7 7 if (stringclass == PRECIS_IDENTIFIER_CLASS) {
6896 0 133 if (xprop == CH_NAKAGURO) {
6898 0 0 if (nakaguro.p == NULL) {
6907 33 100 if ((jtype_before & JT_L) && (jtype & JT_T))
3 30 if ((jtype_before & JT_L) && (jtype & JT_T))
6919 45 64 switch (prop) {
6931 6 30 if (xprop_before == CCC_VIRAMA) {
6935 3 27 } else if (jtype_before & JT_L)
6944 3 21 if (jtype & JT_T) {
6948 6 15 } else if (jtype & JT_R);
6957 3 6 if (xprop_before == CCC_VIRAMA)
6968 0 0 if (xprop_before == CH_SMALLL);
6974 0 0 if (xprop == CH_SMALLL);
7005 0 0 switch (xprop_before) {
7018 0 0 switch (xprop_before) {
7046 0 0 if (has_eaid)
7057 0 0 if (has_aid)
7081 4611 189 if (p < end) {
7082 4601 10 if (p + utf8_sequence_len[*p] <= end)
7089 0 4611 if (nakaguro.p != NULL && !has_hankana) {
0 0 if (nakaguro.p != NULL && !has_hankana) {
7090 0 0 if (pptr != NULL)
7092 0 0 if (lenptr != NULL)
7094 0 0 if (idxptr != NULL)
7096 0 0 if (cpptr != NULL)
7105 14 7 if (pptr != NULL)
7107 14 7 if (lenptr != NULL)
7109 14 7 if (idxptr != NULL)
7111 14 7 if (cpptr != NULL)
7117 4407 0 if (pptr != NULL)
7119 4407 0 if (lenptr != NULL)
7121 4407 0 if (idxptr != NULL)
7123 4407 0 if (cpptr != NULL)
7128 173 10 if (pptr != NULL)
7130 173 10 if (lenptr != NULL)
7132 173 10 if (idxptr != NULL)