| src/xh_encoder.c | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 16 | 43.7 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 2 | 39 | if (encoder != NULL) { |
| 44 | 2 | 0 | if (encoder->iconv != NULL) { |
| 67 | 0 | 2 | if (encoder == NULL) { |
| 78 | 2 | 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 | 0 | 0 | if (encoder->type == XH_ENC_ICONV) { |
| 140 | 0 | 0 | if (converted == (size_t) -1) { |