Branch Coverage

Rdkafka.xs
Criterion Covered Total %
branch 10 78 12.8


line true false branch
41 0 2 if (rk == NULL) {
71 0 0 for (i=0; i < len; i++) {
73 0 0 if (topic_sv != NULL) {
74 0 0 topic = SvPV(*topic_sv, strl);
100 0 0 if (err != RD_KAFKA_RESP_ERR_NO_ERROR) {
117 0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
118 0 0 if (!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
0 0 if (!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
125 0 0 if (tpar != NULL)
139 0 0 if (err != RD_KAFKA_RESP_ERR_NO_ERROR) {
157 0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
0 0 if (tplistsv != NULL && SvOK(tplistsv)) {
158 0 0 if(!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
0 0 if(!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
165 0 0 if (tpar != NULL)
191 0 0 if (!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
0 0 if (!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
197 0 0 if (err != RD_KAFKA_RESP_ERR_NO_ERROR) {
217 0 0 if (!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
0 0 if (!SvROK(tplistsv) || strncmp(sv_reftype(SvRV(tplistsv), 0), "ARRAY", 6)) {
223 0 0 if (err != RD_KAFKA_RESP_ERR_NO_ERROR) {
260 0 2 if (tcon == NULL)
295 2 0 if (rdk->thx == (IV)PERL_GET_THX) {
333 2 0 plptr = SvPVbyte(payload, plen);
334 0 2 if (SvOK(key)) {
0 0 if (SvOK(key)) {
0 0 if (SvOK(key)) {
335 0 2 keyptr = SvPVbyte(key, klen);
395 0 0 if (msg->err == 0) {
418 0 0 if (items > 1) {
419 0 0 if (!SvROK(ST(1)) || strncmp(sv_reftype(SvRV(ST(1)), 0), "SCALAR", 7)) {
0 0 if (!SvROK(ST(1)) || strncmp(sv_reftype(SvRV(ST(1)), 0), "SCALAR", 7)) {
445 1692 6 for (i = 0; i < cnt; i++) {
446 834 858 if (descs[i].name != NULL) {