Branch Coverage

amqp_openssl_bio.c
Criterion Covered Total %
branch 9 32 28.1


line true false branch
50 17 0 if (res == -1) {
52 0 17 if (
54 0 0 err == EWOULDBLOCK ||
60 0 0 err == ENOTCONN ||
63 0 0 err == EINTR ||
66 0 0 err == EAGAIN ||
69 0 0 err == EPROTO ||
75 0 0 err == EALREADY ||
97 0 21 if (res <= 0 && amqp_openssl_bio_should_retry(res)) {
0 0 if (res <= 0 && amqp_openssl_bio_should_retry(res)) {
117 17 42 if (res <= 0 && amqp_openssl_bio_should_retry(res)) {
17 0 if (res <= 0 && amqp_openssl_bio_should_retry(res)) {
139 0 1 assert(!amqp_ssl_bio_initialized);
159 0 1 if (!(amqp_bio_method = OPENSSL_malloc(sizeof(BIO_METHOD)))) {
174 0 0 assert(amqp_ssl_bio_initialized);
187 0 1 assert(amqp_ssl_bio_initialized);