Branch Coverage

dbdimp_tokenizer.inc
Criterion Covered Total %
branch 34 54 62.9


line true false branch
35 1 4 if (!argc) {
40 0 4 if( t==NULL ) return SQLITE_NOMEM;
47 0 4 PUSHMARK(SP);
53 0 4 if (n_retval != 1) {
61 4 0 FREETMPS;
109 34 34 if (MY_CXT.last_dbh_is_unicode) {
123 16 52 if (nBytes < 0) { /* we get -1 from fts3. Don't know why ! */
129 0 68 PUSHMARK(SP);
130 0 68 XPUSHs(perl_string);
136 0 68 if (n_retval != 1) {
142 68 0 FREETMPS;
156 68 0 if (c->pToken) sqlite3_free(c->pToken);
188 0 148 PUSHMARK(SP);
194 20 128 if (n_retval == 0) {
199 0 128 if (n_retval != 5) {
202 128 0 *piPosition = POPi;
203 128 0 *piEndOffset = POPi;
204 128 0 *piStartOffset = POPi;
205 128 0 *pnBytes = POPi;
206 128 0 token = POPpx;
208 64 64 if (c->pInput) { /* if working with utf8 data */
227 68 60 if (*pnBytes > c->nTokenAllocated ){
231 0 68 if( !pNew ) return SQLITE_NOMEM;
244 128 20 FREETMPS;
274 0 247 if (!DBIc_ACTIVE(imp_dbh)) {
281 0 247 if( rc!=SQLITE_OK ){
287 0 247 if( rc!=SQLITE_OK ){