Branch Coverage

lib/MySQL/Dump/Parser/XS.xs
Criterion Covered Total %
branch 23 40 57.5


line true false branch
17 0 4 if (items != 1) {
20 4 0 const char *klass = SvPV_nolen(ST(0));
26 0 4 XPUSHs(self);
34 0 0 if (items != 1) {
47 0 182 if (items != 2) {
53 182 0 AV* ret = parse(aTHX_ state, SvPV_nolen(src));
54 173 9 if (ret == NULL) {
60 18 0 XSUTIL_AV_FOREACH(ret, entry, {
0 18 XSUTIL_AV_FOREACH(ret, entry, {
18 9 XSUTIL_AV_FOREACH(ret, entry, {
71 0 3 if (items != 1) {
76 0 3 XPUSHs(table);
84 0 3 if (items != 2) {
94 21 0 XSUTIL_AV_FOREACH(columns, entry, {
0 21 XSUTIL_AV_FOREACH(columns, entry, {
21 3 XSUTIL_AV_FOREACH(columns, entry, {
105 0 3 if (items != 1) {
111 0 3 if (! ssv) {
117 0 3 XSUTIL_HV_FOREACH((HV*)SvRV(*ssv), entry, {
3 3 XSUTIL_HV_FOREACH((HV*)SvRV(*ssv), entry, {