Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/auto/DBI/Driver_xst.h
Criterion Covered Total %
branch 27 60 45.0


line true false branch
28 0 720 if (debug >= 3) {
33 720 0 EXTEND(SP, params);
0 720 EXTEND(SP, params);
34 0 720 PUSHMARK(SP);
35 2160 720 for (i=0; i < params; ++i) {
36 1668 492 sv = (i >= items) ? &PL_sv_undef : ST(i);
42 720 0 sv = (i) ? POPs : &PL_sv_undef;
44 0 720 if (debug >= 3)
60 0 599 if (items-1 != DBIc_NUM_PARAMS(imp_sth)
61 0 0 && DBIc_NUM_PARAMS(imp_sth) != DBIc_NUM_PARAMS_AT_EXECUTE
66 0 0 if (svp && SvROK(*svp) && SvTYPE(SvRV(*svp)) == SVt_PVHV) {
0 0 if (svp && SvROK(*svp) && SvTYPE(SvRV(*svp)) == SVt_PVHV) {
0 0 if (svp && SvROK(*svp) && SvTYPE(SvRV(*svp)) == SVt_PVHV) {
76 896 599 for(i=1; i < items ; ++i) {
78 0 896 if (SvGMAGICAL(value))
81 0 896 if (!dbd_bind_ph(sth, imp_sth, idx, value, 0, Nullsv, FALSE, 0)) {
95 310 0 if (SvOK(slice)) { /* should never get here */
310 0 if (SvOK(slice)) { /* should never get here */
0 310 if (SvOK(slice)) { /* should never get here */
102 310 0 IV maxrows = SvOK(batch_row_count) ? SvIV(batch_row_count) : -1;
310 0 IV maxrows = SvOK(batch_row_count) ? SvIV(batch_row_count) : -1;
0 310 IV maxrows = SvOK(batch_row_count) ? SvIV(batch_row_count) : -1;
0 0 IV maxrows = SvOK(batch_row_count) ? SvIV(batch_row_count) : -1;
105 0 310 if ( !DBIc_ACTIVE(imp_sth) && maxrows>0 ) {
0 0 if ( !DBIc_ACTIVE(imp_sth) && maxrows>0 ) {
110 0 310 av_extend(rows_av, (maxrows>0) ? maxrows : 31);
111 0 688 while ( (maxrows < 0 || maxrows-- > 0)
0 0 while ( (maxrows < 0 || maxrows-- > 0)
112 378 310 && (fetched_av = dbd_st_fetch(sth, imp_sth))
114 0 378 AV *copy_row_av = av_make(AvFILL(fetched_av)+1, AvARRAY(fetched_av));