OpenCoverage

SQLite Code Coverage

Functions

Page:<>1
Function: zeroblobFunc
...3
Function: substExprList
4
Function: sqlite3_result_text16
5
Function: sqlite3_bind_text64
6
Function: sqlite3VdbeResetStepResult
78
Function: sqlite3PcacheShutdown
9
Function: sqlite3OsTruncate
10
Function: sqlite3FixSelect
11
Function: sqlite3DbNameToBtree
...17
Function: clearSelect
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
sqlite3ValueText
Name: sqlite3ValueText
Prototype: const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1216-1229
100.000% (12/12)
184
sqlite3ValueSetStr
Name: sqlite3ValueSetStr
Prototype: void sqlite3ValueSetStr( sqlite3_value *v, int n, const void *z, u8 enc, void (*xDel)(void*) )
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1843-1851
 75.000% (3/4)
12
sqlite3ValueSetNull
Name: sqlite3ValueSetNull
Prototype: void sqlite3ValueSetNull(sqlite3_value *p)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 781-783
100.000% (1/1)
11
sqlite3ValueNew
Name: sqlite3ValueNew
Prototype: sqlite3_value *sqlite3ValueNew(sqlite3 *db)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1234-1241
100.000% (4/4)
52
sqlite3ValueFromExpr
Name: sqlite3ValueFromExpr
Prototype: int sqlite3ValueFromExpr( sqlite3 *db, Expr *pExpr, u8 enc, u8 affinity, sqlite3_value **ppVal )
Coverage: 100.000% (3/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1565-1573
100.000% (3/3)
11
sqlite3ValueFree
Name: sqlite3ValueFree
Prototype: void sqlite3ValueFree(sqlite3_value *v)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1856-1860
100.000% (4/4)
32
sqlite3ValueBytes
Name: sqlite3ValueBytes
Prototype: int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc)
Coverage: 100.000% (15/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1870-1885
100.000% (15/15)
125
sqlite3ValueApplyAffinity
Name: sqlite3ValueApplyAffinity
Prototype: void sqlite3ValueApplyAffinity( sqlite3_value *pVal, u8 affinity, u8 enc )
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbe.c
Lines: 366-372
100.000% (1/1)
11
sqlite3VMPrintf
Name: sqlite3VMPrintf
Prototype: char *sqlite3VMPrintf(sqlite3 *db, const char *zFormat, va_list ap)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 1068-1082
100.000% (4/4)
142
sqlite3VListNumToName
Name: sqlite3VListNumToName
Prototype: const char *sqlite3VListNumToName(VList *pIn, int iVal)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1597-1607
100.000% (10/10)
84
sqlite3VListNameToNum
Name: sqlite3VListNameToNum
Prototype: int sqlite3VListNameToNum(VList *pIn, const char *zName, int nName)
Coverage:  25.000% (13/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1613-1624
 25.000% (13/52)
21110
sqlite3VListAdd
Name: sqlite3VListAdd
Prototype: VList *sqlite3VListAdd( sqlite3 *db, VList *pIn, const char *zName, int nName, int iVal )
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1559-1590
 85.714% (12/14)
254
sqlite3UtfSelfTest
Name: sqlite3UtfSelfTest
Prototype: void sqlite3UtfSelfTest(void)
Coverage: 100.000% (56/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/utf.c
Lines: 485-530
100.000% (56/56)
5815
sqlite3Utf8Read
Name: sqlite3Utf8Read
Prototype: u32 sqlite3Utf8Read( const unsigned char **pz )
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/utf.c
Lines: 166-185
100.000% (14/14)
104
sqlite3Utf8CharLen
Name: sqlite3Utf8CharLen
Prototype: int sqlite3Utf8CharLen(const char *zIn, int nByte)
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/utf.c
Lines: 385-400
100.000% (16/16)
135
sqlite3Utf16to8
Name: sqlite3Utf16to8
Prototype: char *sqlite3Utf16to8(sqlite3 *db, const void *z, int nByte, u8 enc)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/utf.c
Lines: 439-453
 50.000% (2/4)
182
sqlite3Utf16ByteLen
Name: sqlite3Utf16ByteLen
Prototype: int sqlite3Utf16ByteLen(const void *zIn, int nChar)
Coverage:  33.333% (7/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/utf.c
Lines: 460-477
 33.333% (7/21)
116
sqlite3UnlinkAndDeleteTable
Name: sqlite3UnlinkAndDeleteTable
Prototype: void sqlite3UnlinkAndDeleteTable(sqlite3 *db, int iDb, const char *zTabName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 661-674
100.000% (1/1)
181
sqlite3UnlinkAndDeleteIndex
Name: sqlite3UnlinkAndDeleteIndex
Prototype: void sqlite3UnlinkAndDeleteIndex(sqlite3 *db, int iDb, const char *zIdxName)
Coverage:  77.778% (14/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 462-485
 77.778% (14/18)
175
sqlite3UniqueConstraint
Name: sqlite3UniqueConstraint
Prototype: void sqlite3UniqueConstraint( Parse *pParse, int onError, Index *pIdx )
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4288-4317
100.000% (11/11)
224
sqlite3TwoPartName
Name: sqlite3TwoPartName
Prototype: int sqlite3TwoPartName( Parse *pParse, Token *pName1, Token *pName2, Token **pUnqual )
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 764-792
100.000% (11/11)
214
sqlite3TransferBindings
Name: sqlite3TransferBindings
Prototype: int sqlite3TransferBindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 1547-1559
100.000% (4/4)
142
sqlite3TokenInit
Name: sqlite3TokenInit
Prototype: void sqlite3TokenInit(Token *p, char *z)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 271-274
100.000% (1/1)
21
sqlite3TempInMemory
Name: sqlite3TempInMemory
Prototype: int sqlite3TempInMemory(const sqlite3 *db)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 2371-2386
100.000% (1/1)
11
sqlite3TableLock
Name: sqlite3TableLock
Prototype: void sqlite3TableLock( Parse *pParse, int iDb, int iTab, u8 isWriteLock, const char *zName )
Coverage:  91.667% (22/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 49-85
 91.667% (22/24)
256
sqlite3TableColumnAffinity
Name: sqlite3TableColumnAffinity
Prototype: char sqlite3TableColumnAffinity(Table *pTab, int iCol)
Coverage: 100.000% (3/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 24-27
100.000% (3/3)
41
sqlite3TableAffinity
Name: sqlite3TableAffinity
Prototype: void sqlite3TableAffinity(Vdbe *v, Table *pTab, int iReg)
Coverage: 100.000% (21/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/insert.c
Lines: 130-157
100.000% (21/21)
187
sqlite3SystemError
Name: sqlite3SystemError
Prototype: void sqlite3SystemError(sqlite3 *db, int rc)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 149-155
100.000% (9/9)
43
sqlite3SubselectError
Name: sqlite3SubselectError
Prototype: void sqlite3SubselectError(Parse *pParse, int nActual, int nExpect)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 2568-2571
100.000% (1/1)
21
sqlite3SubInt64
Name: sqlite3SubInt64
Prototype: int sqlite3SubInt64(i64 *pA, i64 iB)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1349-1363
100.000% (1/1)
11
sqlite3Strlen30
Name: sqlite3Strlen30
Prototype: int sqlite3Strlen30(const char *z)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 107-110
100.000% (4/4)
22
sqlite3StringToId
Name: sqlite3StringToId
Prototype: static void sqlite3StringToId(Expr *p)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 1307-1313
100.000% (9/9)
43
sqlite3StrICmp
Name: sqlite3StrICmp
Prototype: int sqlite3StrICmp(const char *zLeft, const char *zRight)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 297-309
100.000% (7/7)
103
sqlite3StrAccumInit
Name: sqlite3StrAccumInit
Prototype: void sqlite3StrAccumInit(StrAccum *p, sqlite3 *db, char *zBase, int n, int mx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 1042-1050
100.000% (1/1)
71
sqlite3StrAccumFinish
Name: sqlite3StrAccumFinish
Prototype: char *sqlite3StrAccumFinish(StrAccum *p)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 965-973
100.000% (9/9)
53
sqlite3StrAccumEnlarge
Name: sqlite3StrAccumEnlarge
Prototype: static int sqlite3StrAccumEnlarge(StrAccum *p, int N)
Coverage: 100.000% (29/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 846-892
100.000% (29/29)
358
sqlite3StmtCurrentTime
Name: sqlite3StmtCurrentTime
Prototype: sqlite3_int64 sqlite3StmtCurrentTime(sqlite3_context *p)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 774-788
 71.429% (5/7)
93
sqlite3Step
Name: sqlite3Step
Prototype: static int sqlite3Step(Vdbe *p)
Coverage:  98.387% (61/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 546-672
 98.387% (61/62)
6217
sqlite3StartTable
Name: sqlite3StartTable
Prototype: void sqlite3StartTable( Parse *pParse, Token *pName1, Token *pName2, int isTemp, int isView, int isVirtual, int noErr )
Coverage:  72.072% (80/111)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 848-1040
 72.072% (80/111)
27228
sqlite3SrcListShiftJoinType
Name: sqlite3SrcListShiftJoinType
Prototype: void sqlite3SrcListShiftJoinType(SrcList *p)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4063-4071
100.000% (7/7)
53
sqlite3SrcListIndexedBy
Name: sqlite3SrcListIndexedBy
Prototype: void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy)
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4011-4029
 90.909% (10/11)
223
sqlite3SrcListFuncArgs
Name: sqlite3SrcListFuncArgs
Prototype: void sqlite3SrcListFuncArgs(Parse *pParse, SrcList *p, ExprList *pList)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4035-4046
 50.000% (2/4)
142
sqlite3SrcListEnlarge
Name: sqlite3SrcListEnlarge
Prototype: SrcList *sqlite3SrcListEnlarge( sqlite3 *db, SrcList *pSrc, int nExtra, int iStart )
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 3786-3831
100.000% (13/13)
345
sqlite3SrcListDup
Name: sqlite3SrcListDup
Prototype: SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags)
Coverage: 100.000% (21/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1405-1445
100.000% (21/21)
377
sqlite3SrcListDelete
Name: sqlite3SrcListDelete
Prototype: void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 3926-3942
100.000% (13/13)
145
sqlite3SrcListAssignCursors
Name: sqlite3SrcListAssignCursors
Prototype: void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 3908-3921
 92.308% (12/13)
115
sqlite3SrcListAppendFromTerm
Name: sqlite3SrcListAppendFromTerm
Prototype: SrcList *sqlite3SrcListAppendFromTerm( Parse *pParse, SrcList *p, Token *pTable, Token *pDatabase, Token *pAlias, Select *pSubquery, Expr *pOn, IdList *pUsing )
Coverage:  91.667% (22/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 3960-4005
 91.667% (22/24)
396
sqlite3SrcListAppend
Name: sqlite3SrcListAppend
Prototype: SrcList *sqlite3SrcListAppend( sqlite3 *db, SrcList *pList, Token *pTable, Token *pDatabase )
Coverage: 100.000% (20/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 3868-3903
100.000% (20/20)
276
sqlite3SkipAccumulatorLoad
Name: sqlite3SkipAccumulatorLoad
Prototype: static void sqlite3SkipAccumulatorLoad(sqlite3_context *context)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 37-41
100.000% (1/1)
51
sqlite3SetHasNullFlag
Name: sqlite3SetHasNullFlag
Prototype: static void sqlite3SetHasNullFlag(Vdbe *v, int iCur, int regHasNull)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 2206-2214
100.000% (1/1)
61
sqlite3SelectWrongNumTermsError
Name: sqlite3SelectWrongNumTermsError
Prototype: void sqlite3SelectWrongNumTermsError(Parse *pParse, Select *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 2859-2866
100.000% (4/4)
42
sqlite3SelectWalkNoop
Name: sqlite3SelectWalkNoop
Prototype: int sqlite3SelectWalkNoop(Walker *NotUsed, Select *NotUsed2)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5084-5087
100.000% (1/1)
21
sqlite3SelectWalkFail
Name: sqlite3SelectWalkFail
Prototype: int sqlite3SelectWalkFail(Walker *pWalker, Select *NotUsed)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1762-1766
100.000% (1/1)
31
sqlite3SelectPrep
Name: sqlite3SelectPrep
Prototype: void sqlite3SelectPrep( Parse *pParse, Select *p, NameContext *pOuterNC )
Coverage:  82.353% (14/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5199-5212
 82.353% (14/17)
105
sqlite3SelectNew
Name: sqlite3SelectNew
Prototype: Select *sqlite3SelectNew( Parse *pParse, ExprList *pEList, SrcList *pSrc, Expr *pWhere, ExprList *pGroupBy, Expr *pHaving, ExprList *pOrderBy, u32 selFlags, Expr *pLimit )
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 127-180
100.000% (14/14)
425
sqlite3SelectExprHeight
Name: sqlite3SelectExprHeight
Prototype: int sqlite3SelectExprHeight(Select *p)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 712-716
100.000% (1/1)
31
sqlite3SelectExpand
Name: sqlite3SelectExpand
Prototype: static void sqlite3SelectExpand(Parse *pParse, Select *pSelect)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5112-5124
100.000% (4/4)
102
sqlite3SelectDup
Name: sqlite3SelectDup
Prototype: Select *sqlite3SelectDup(sqlite3 *db, Select *pDup, int flags)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1470-1508
100.000% (7/7)
343
sqlite3SelectDestInit
Name: sqlite3SelectDestInit
Prototype: void sqlite3SelectDestInit(SelectDest *pDest, int eDest, int iParm)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 114-120
100.000% (1/1)
51
sqlite3SelectDelete
Name: sqlite3SelectDelete
Prototype: void sqlite3SelectDelete(sqlite3 *db, Select *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 186-188
100.000% (4/4)
12
sqlite3SelectAddTypeInfo
Name: sqlite3SelectAddTypeInfo
Prototype: static void sqlite3SelectAddTypeInfo(Parse *pParse, Select *pSelect)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5175-5184
100.000% (1/1)
61
sqlite3SelectAddColumnTypeAndCollation
Name: sqlite3SelectAddColumnTypeAndCollation
Prototype: void sqlite3SelectAddColumnTypeAndCollation( Parse *pParse, Table *pTab, Select *pSelect )
Coverage: 100.000% (21/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 2028-2071
100.000% (21/21)
387
sqlite3Select
Name: sqlite3Select
Prototype: int sqlite3Select( Parse *pParse, Select *p, SelectDest *pDest )
Coverage:  97.196% (312/321)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5559-6596
 97.196% (312/321)
50083
sqlite3SectorSize
Name: sqlite3SectorSize
Prototype: int sqlite3SectorSize(sqlite3_file *pFile)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 2698-2707
100.000% (7/7)
93
sqlite3SchemaToIndex
Name: sqlite3SchemaToIndex
Prototype: int sqlite3SchemaToIndex(sqlite3 *db, Schema *pSchema)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/prepare.c
Lines: 477-501
 90.000% (9/10)
154
sqlite3Savepoint
Name: sqlite3Savepoint
Prototype: void sqlite3Savepoint(Parse *pParse, int op, Token *pName)
Coverage:  77.778% (7/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4125-4139
 77.778% (7/9)
103
sqlite3SafetyCheckSickOrOk
Name: sqlite3SafetyCheckSickOrOk
Prototype: int sqlite3SafetyCheckSickOrOk(sqlite3 *db)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1309-1321
100.000% (8/8)
82
sqlite3SafetyCheckOk
Name: sqlite3SafetyCheckOk
Prototype: int sqlite3SafetyCheckOk(sqlite3 *db)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1292-1308
 60.000% (6/10)
104
sqlite3RunParser
Name: sqlite3RunParser
Prototype: int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg)
Coverage:  97.561% (80/82)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/tokenize.c
Lines: 555-716
 97.561% (80/82)
12525
sqlite3RowidConstraint
Name: sqlite3RowidConstraint
Prototype: void sqlite3RowidConstraint( Parse *pParse, int onError, Table *pTab )
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4323-4340
100.000% (5/5)
102
sqlite3RootPageMoved
Name: sqlite3RootPageMoved
Prototype: void sqlite3RootPageMoved(sqlite3 *db, int iDb, int iFrom, int iTo)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 2396-2417
100.000% (13/13)
175
sqlite3RollbackAll
Name: sqlite3RollbackAll
Prototype: void sqlite3RollbackAll(sqlite3 *db, int tripCode)
Coverage: 100.000% (24/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 1275-1318
100.000% (24/24)
266
sqlite3ResultSetOfSelect
Name: sqlite3ResultSetOfSelect
Prototype: Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 2077-2107
 69.231% (9/13)
295
sqlite3ResetOneSchema
Name: sqlite3ResetOneSchema
Prototype: void sqlite3ResetOneSchema(sqlite3 *db, int iDb)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 522-540
 92.308% (12/13)
155
sqlite3ResetAllSchemasOfConnection
Name: sqlite3ResetAllSchemasOfConnection
Prototype: void sqlite3ResetAllSchemasOfConnection(sqlite3 *db)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 546-560
100.000% (7/7)
133
sqlite3Reprepare
Name: sqlite3Reprepare
Prototype: int sqlite3Reprepare(Vdbe *p)
Coverage:  75.000% (6/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/prepare.c
Lines: 720-748
 75.000% (6/8)
333
sqlite3ReportError
Name: sqlite3ReportError
Prototype: int sqlite3ReportError(int iErr, int lineno, const char *zType)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 3502-3506
100.000% (1/1)
31
sqlite3ReleaseTempReg
Name: sqlite3ReleaseTempReg
Prototype: void sqlite3ReleaseTempReg(Parse *pParse, int iReg)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 5281-5285
100.000% (6/6)
22
sqlite3ReleaseTempRange
Name: sqlite3ReleaseTempRange
Prototype: void sqlite3ReleaseTempRange(Parse *pParse, int iReg, int nReg)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 5304-5313
100.000% (7/7)
63
sqlite3Reindex
Name: sqlite3Reindex
Prototype: void sqlite3Reindex(Parse *pParse, Token *pName1, Token *pName2)
Coverage:  70.000% (21/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4417-4468
 70.000% (21/30)
4310
sqlite3RegisterPerConnectionBuiltinFunctions
Name: sqlite3RegisterPerConnectionBuiltinFunctions
Prototype: void sqlite3RegisterPerConnectionBuiltinFunctions(sqlite3 *db)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1788-1794
100.000% (4/4)
62
sqlite3RegisterLikeFunctions
Name: sqlite3RegisterLikeFunctions
Prototype: void sqlite3RegisterLikeFunctions(sqlite3 *db, int caseSensitive)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1812-1826
100.000% (5/5)
112
sqlite3RegisterDateTimeFunctions
Name: sqlite3RegisterDateTimeFunctions
Prototype: void sqlite3RegisterDateTimeFunctions(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 1231-1249
100.000% (1/1)
11
sqlite3RegisterBuiltinFunctions
Name: sqlite3RegisterBuiltinFunctions
Prototype: void sqlite3RegisterBuiltinFunctions(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1887-2018
100.000% (1/1)
41
sqlite3RefillIndex
Name: sqlite3RefillIndex
Prototype: static void sqlite3RefillIndex(Parse *pParse, Index *pIndex, int memRootPage)
Coverage:  88.889% (16/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 2867-2947
 88.889% (16/18)
616
sqlite3RealSameAsInt
Name: sqlite3RealSameAsInt
Prototype: static int sqlite3RealSameAsInt(double r1, sqlite3_int64 i)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 668-671
100.000% (1/1)
21
sqlite3ReadSchema
Name: sqlite3ReadSchema
Prototype: int sqlite3ReadSchema(Parse *pParse)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/prepare.c
Lines: 406-420
100.000% (10/10)
134
sqlite3PutVarint
Name: sqlite3PutVarint
Prototype: int sqlite3PutVarint(unsigned char *p, u64 v)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 856-867
100.000% (7/7)
83
sqlite3Put4byte
Name: sqlite3Put4byte
Prototype: void sqlite3Put4byte(unsigned char *p, u32 v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1208-1223
100.000% (1/1)
21
sqlite3PrngSaveState
Name: sqlite3PrngSaveState
Prototype: void sqlite3PrngSaveState(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/random.c
Lines: 120-126
100.000% (1/1)
51
sqlite3PrngRestoreState
Name: sqlite3PrngRestoreState
Prototype: void sqlite3PrngRestoreState(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/random.c
Lines: 127-133
100.000% (1/1)
51
sqlite3PrimaryKeyIndex
Name: sqlite3PrimaryKeyIndex
Prototype: Index *sqlite3PrimaryKeyIndex(Table *pTab)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 814-818
100.000% (6/6)
32
sqlite3Prepare16
Name: sqlite3Prepare16
Prototype: static int sqlite3Prepare16( sqlite3 *db, const void *zSql, int nBytes, u32 prepFlags, sqlite3_stmt **ppStmt, const void **pzTail )
Coverage:  41.667% (10/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/prepare.c
Lines: 817-865
 41.667% (10/24)
226
sqlite3Prepare
Name: sqlite3Prepare
Prototype: static int sqlite3Prepare( sqlite3 *db, const char *zSql, int nBytes, u32 prepFlags, Vdbe *pReprepare, sqlite3_stmt **ppStmt, const char **pzTail )
Coverage:  94.444% (68/72)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/prepare.c
Lines: 520-675
 94.444% (68/72)
12020
sqlite3PragmaVtabRegister
Name: sqlite3PragmaVtabRegister
Prototype: Module *sqlite3PragmaVtabRegister(sqlite3 *db, const char *zName)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 2474-2482
 71.429% (5/7)
113
sqlite3Pragma
Name: sqlite3Pragma
Prototype: void sqlite3Pragma( Parse *pParse, Token *pId1, Token *pId2, Token *pValue, int minusFlag )
Coverage:  91.740% (622/678)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 329-2175
 91.740% (622/678)
816208
sqlite3Pow10
Name: sqlite3Pow10
Prototype: static long double sqlite3Pow10(int E)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 329-360
100.000% (8/8)
74
sqlite3PcacheTruncate
Name: sqlite3PcacheTruncate
Prototype: void sqlite3PcacheTruncate(PCache *pCache, Pgno pgno)
Coverage:  94.444% (17/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache.c
Lines: 640-668
 94.444% (17/18)
206
sqlite3PcacheStats
Name: sqlite3PcacheStats
Prototype: void sqlite3PcacheStats( int *pnCurrent, int *pnMax, int *pnMin, int *pnRecyclable )
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 1241-1257
  0.000% (0/6)
112
sqlite3PcacheSize
Name: sqlite3PcacheSize
Prototype: int sqlite3PcacheSize(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache.c
Lines: 277-277
100.000% (1/1)
11
Page:<>1
Function: zeroblobFunc
...3
Function: substExprList
4
Function: sqlite3_result_text16
5
Function: sqlite3_bind_text64
6
Function: sqlite3VdbeResetStepResult
78
Function: sqlite3PcacheShutdown
9
Function: sqlite3OsTruncate
10
Function: sqlite3FixSelect
11
Function: sqlite3DbNameToBtree
...17
Function: clearSelect

Generated by Squish Coco 4.2.2