Branch Coverage

amqp_tcp_socket.c
Criterion Covered Total %
branch 6 26 23.0


line true false branch
38 1 0 if (-1 == self->sockfd) {
47 0 0 if (flags & AMQP_SF_MORE) {
81 0 0 if (res < 0) {
110 0 0 if (-1 == self->sockfd) {
121 0 0 if (0 > ret) {
139 0 0 } else if (0 == ret) {
149 0 1 if (-1 != self->sockfd) {
153 1 0 if (0 > self->sockfd) {
164 1 0 if (-1 == self->sockfd) {
168 0 0 if (amqp_os_socket_close(self->sockfd)) {
184 1 0 if (self) {
201 0 1 if (!self) {
214 0 0 if (base->klass != &amqp_tcp_socket_class) {