Branch Coverage

src/xh_encoder.c
Criterion Covered Total %
branch 9 16 56.2


line true false branch
42 7 40 if (encoder != NULL) {
44 7 0 if (encoder->iconv != NULL) {
67 0 7 if (encoder == NULL) {
78 7 0 if (encoder->iconv != (iconv_t) -1) {
110 2 0 if (encoder->type == XH_ENC_ICONV) {
115 0 2 if (converted == (size_t) -1) {
138 5 0 if (encoder->type == XH_ENC_ICONV) {
140 0 5 if (converted == (size_t) -1) {