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 665 if (debug >= 3) {
33 665 0 EXTEND(SP, params);
0 665 EXTEND(SP, params);
34 0 665 PUSHMARK(SP);
35 1995 665 for (i=0; i < params; ++i) {
36 1547 448 sv = (i >= items) ? &PL_sv_undef : ST(i);
42 665 0 sv = (i) ? POPs : &PL_sv_undef;
44 0 665 if (debug >= 3)
60 0 534 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 800 534 for(i=1; i < items ; ++i) {
78 0 800 if (SvGMAGICAL(value))
81 0 800 if (!dbd_bind_ph(sth, imp_sth, idx, value, 0, Nullsv, FALSE, 0)) {
95 305 0 if (SvOK(slice)) { /* should never get here */
305 0 if (SvOK(slice)) { /* should never get here */
0 305 if (SvOK(slice)) { /* should never get here */
102 305 0 IV maxrows = SvOK(batch_row_count) ? SvIV(batch_row_count) : -1;
305 0 IV maxrows = SvOK(batch_row_count) ? SvIV(batch_row_count) : -1;
0 305 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 305 if ( !DBIc_ACTIVE(imp_sth) && maxrows>0 ) {
0 0 if ( !DBIc_ACTIVE(imp_sth) && maxrows>0 ) {
110 0 305 av_extend(rows_av, (maxrows>0) ? maxrows : 31);
111 0 660 while ( (maxrows < 0 || maxrows-- > 0)
0 0 while ( (maxrows < 0 || maxrows-- > 0)
112 355 305 && (fetched_av = dbd_st_fetch(sth, imp_sth))
114 0 355 AV *copy_row_av = av_make(AvFILL(fetched_av)+1, AvARRAY(fetched_av));