Branch Coverage

Parser.xs
Criterion Covered Total %
branch 17 32 53.1


line true false branch
28 4 0 if (parser->thx == (IV)PERL_GET_THX) {
43 19 9 for (i = 1; i < items; i++) {
44 4 15 if (parser->utf8) {
46 1 3 pv = SvPVutf8(tmp, len);
49 14 1 pv = SvPV(ST(i), len);
74 0 1 if (parser->default_cb != NULL)
75 0 0 SvSetSV(parser->default_cb, cb);
90 3 0 if (GIMME_V != G_ARRAY) {
3 0 if (GIMME_V != G_ARRAY) {
91 0 3 XPUSHs(sv_2mortal(newSViv(len)));
94 0 0 EXTEND(SP, len);
0 0 EXTEND(SP, len);
95 0 0 for (i=0; i < len; i++) {
97 0 0 if (ptr == NULL) {
118 38 15 while (sv_len(parser->buffer) && rdb_parser__parse_reply(parser))
23 13 while (sv_len(parser->buffer) && rdb_parser__parse_reply(parser))