OpenCoverage

SQLite Code Coverage

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 655
...3
McCabe - Cyclomatic Complexity: 10
4
McCabe - Cyclomatic Complexity: 7
5
McCabe - Cyclomatic Complexity: 6
6
McCabe - Cyclomatic Complexity: 5
78
McCabe - Cyclomatic Complexity: 3
9
McCabe - Cyclomatic Complexity: 3
10
McCabe - Cyclomatic Complexity: 2
11
McCabe - Cyclomatic Complexity: 2
...17
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
sqlite3DecOrHexToI64
Name: sqlite3DecOrHexToI64
Prototype: int sqlite3DecOrHexToI64(const char *z, i64 *pOut)
Coverage:  94.444% (17/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 708-726
 94.444% (17/18)
104
sqlite3CompareAffinity
Name: sqlite3CompareAffinity
Prototype: char sqlite3CompareAffinity(Expr *pExpr, char aff2)
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 227-248
100.000% (16/16)
114
sqlite3Checkpoint
Name: sqlite3Checkpoint
Prototype: int sqlite3Checkpoint(sqlite3 *db, int iDb, int eMode, int *pnLog, int *pnCkpt)
Coverage: 100.000% (18/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 2327-2349
100.000% (18/18)
214
sqlite3BtreeRowCountEst
Name: sqlite3BtreeRowCountEst
Prototype: i64 sqlite3BtreeRowCountEst(BtCursor *pCur)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 5550-5568
 60.000% (6/10)
144
sqlite3BtreePutData
Name: sqlite3BtreePutData
Prototype: int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 10071-10114
 83.333% (10/12)
384
sqlite3BtreeNext
Name: sqlite3BtreeNext
Prototype: int sqlite3BtreeNext(BtCursor *pCur, int flags)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 5663-5682
100.000% (10/10)
214
sqlite3BtreeCommitPhaseTwo
Name: sqlite3BtreeCommitPhaseTwo
Prototype: int sqlite3BtreeCommitPhaseTwo(Btree *p, int bCleanup)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 3997-4024
 91.667% (11/12)
274
sqlite3BitvecDestroy
Name: sqlite3BitvecDestroy
Prototype: void sqlite3BitvecDestroy(Bitvec *p)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/bitvec.c
Lines: 277-286
100.000% (10/10)
64
sqlite3BinaryCompareCollSeq
Name: sqlite3BinaryCompareCollSeq
Prototype: CollSeq *sqlite3BinaryCompareCollSeq( Parse *pParse, Expr *pLeft, Expr *pRight )
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 311-329
100.000% (13/13)
124
sqlite3AddDefaultValue
Name: sqlite3AddDefaultValue
Prototype: void sqlite3AddDefaultValue( Parse *pParse, Expr *pExpr, const char *zStart, const char *zEnd )
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 1255-1289
 90.000% (9/10)
214
setJoinExpr
Name: setJoinExpr
Prototype: static void setJoinExpr(Expr *p, int iTable)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 387-402
 91.667% (11/12)
124
setAllPagerFlags
Name: setAllPagerFlags
Prototype: static void setAllPagerFlags(sqlite3 *db)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 211-229
100.000% (10/10)
244
seekAndWriteFd
Name: seekAndWriteFd
Prototype: static int seekAndWriteFd( int fd, i64 iOff, const void *pBuf, int nBuf, int *piErrno )
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 3371-3407
 41.667% (5/12)
254
saveCursorKey
Name: saveCursorKey
Prototype: static int saveCursorKey(BtCursor *pCur)
Coverage:  63.636% (7/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 653-680
 63.636% (7/11)
254
recomputeColumnsNotIndexed
Name: recomputeColumnsNotIndexed
Prototype: static void recomputeColumnsNotIndexed(Index *pIdx)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 1717-1730
100.000% (10/10)
104
rebuildPage
Name: rebuildPage
Prototype: static int rebuildPage( MemPage *pPg, int nCell, u8 **apCell, u16 *szCell )
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 6734-6776
 83.333% (10/12)
304
readMasterJournal
Name: readMasterJournal
Prototype: static int readMasterJournal(sqlite3_file *pJrnl, char *zMaster, u32 nMaster)
Coverage:  78.571% (22/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 1312-1350
 78.571% (22/28)
244
pragmaLocate
Name: pragmaLocate
Prototype: static const PragmaName *pragmaLocate(const char *zName)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 281-296
100.000% (12/12)
114
percent_rankStepFunc
Name: percent_rankStepFunc
Prototype: static void percent_rankStepFunc( sqlite3_context *pCtx, int nArg, sqlite3_value **apArg )
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 238-256
 90.000% (9/10)
124
pagerUnlockAndRollback
Name: pagerUnlockAndRollback
Prototype: static void pagerUnlockAndRollback(Pager *pPager)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 2170-2183
 83.333% (10/12)
144
pagerUndoCallback
Name: pagerUndoCallback
Prototype: static int pagerUndoCallback(void *pCtx, Pgno iPg)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 3108-3138
100.000% (10/10)
164
pagerPagecount
Name: pagerPagecount
Prototype: static int pagerPagecount(Pager *pPager, Pgno *pnPage)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 3275-3314
 91.667% (11/12)
244
pagerFlushOnCommit
Name: pagerFlushOnCommit
Prototype: static int pagerFlushOnCommit(Pager *pPager, int bCommit)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 1962-1967
100.000% (10/10)
44
pagerAddPageToRollbackJournal
Name: pagerAddPageToRollbackJournal
Prototype: static __attribute__((noinline)) int pagerAddPageToRollbackJournal(PgHdr *pPg)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 5880-5928
100.000% (10/10)
354
pageInsertArray
Name: pageInsertArray
Prototype: static int pageInsertArray( MemPage *pPg, u8 *pBegin, u8 **ppData, u8 *pCellptr, int iFirst, int nCell, CellArray *pCArray )
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 6803-6838
100.000% (14/14)
254
operatorMask
Name: operatorMask
Prototype: static u16 operatorMask(int op)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/whereexpr.c
Lines: 152-174
100.000% (11/11)
394
ntileValueFunc
Name: ntileValueFunc
Prototype: static void ntileValueFunc(sqlite3_context *pCtx)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 338-359
 91.667% (11/12)
154
ntileStepFunc
Name: ntileStepFunc
Prototype: static void ntileStepFunc( sqlite3_context *pCtx, int nArg, sqlite3_value **apArg )
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 317-337
 90.000% (9/10)
144
mkFullPathname
Name: mkFullPathname
Prototype: static int mkFullPathname( const char *zPath, char *zOut, int nOut )
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 6236-6258
 80.000% (8/10)
124
minMaxValueFinalize
Name: minMaxValueFinalize
Prototype: static void minMaxValueFinalize(sqlite3_context *context, int bValue)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1662-1671
100.000% (10/10)
64
lowerFunc
Name: lowerFunc
Prototype: static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 449-467
 90.000% (9/10)
154
loadExt
Name: loadExt
Prototype: static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1445-1468
  0.000% (0/13)
134
invokeValueDestructor
Name: invokeValueDestructor
Prototype: static int invokeValueDestructor( const void *p, void (*xDel)(void*), sqlite3_context *pCtx )
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 328-343
  0.000% (0/11)
84
havingToWhereExprCb
Name: havingToWhereExprCb
Prototype: static int havingToWhereExprCb(Walker *pWalker, Expr *pExpr)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5385-5402
 90.000% (9/10)
134
groupConcatValue
Name: groupConcatValue
Prototype: static void groupConcatValue(sqlite3_context *context)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1765-1778
 60.000% (6/10)
94
groupConcatFinalize
Name: groupConcatFinalize
Prototype: static void groupConcatFinalize(sqlite3_context *context)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1750-1763
 60.000% (6/10)
94
getTempStore
Name: getTempStore
Prototype: static int getTempStore(const char *z)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 113-123
100.000% (12/12)
74
getSafetyLevel
Name: getSafetyLevel
Prototype: static u8 getSafetyLevel(const char *z, int omitFull, u8 dflt)
Coverage:  93.750% (15/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 44-64
 93.750% (15/16)
94
getLockingMode
Name: getLockingMode
Prototype: static int getLockingMode(const char *z)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 82-88
100.000% (10/10)
44
getAutoVacuum
Name: getAutoVacuum
Prototype: static int getAutoVacuum(const char *z)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 97-104
100.000% (14/14)
64
findIndexCol
Name: findIndexCol
Prototype: static int findIndexCol( Parse *pParse, ExprList *pList, int iBase, Index *pIdx, int iCol )
Coverage:  92.857% (13/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 428-452
 92.857% (13/14)
114
exprListAppendList
Name: exprListAppendList
Prototype: static ExprList *exprListAppendList( Parse *pParse, ExprList *pList, ExprList *pAppend )
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 723-738
 91.667% (11/12)
84
exprINAffinity
Name: exprINAffinity
Prototype: static char *exprINAffinity(Parse *pParse, Expr *pExpr)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 2536-2558
 91.667% (11/12)
184
exprCompareVariable
Name: exprCompareVariable
Prototype: static int exprCompareVariable(Parse *pParse, Expr *pVar, Expr *pExpr)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 4650-4671
 90.000% (9/10)
154
exprCodeVector
Name: exprCodeVector
Prototype: static int exprCodeVector(Parse *pParse, Expr *p, int *piFreeable)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 3302-3325
100.000% (11/11)
134
doWalCallbacks
Name: doWalCallbacks
Prototype: static int doWalCallbacks(sqlite3 *db)
Coverage:  92.857% (13/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 516-534
 92.857% (13/14)
124
decodeFlags
Name: decodeFlags
Prototype: static int decodeFlags(MemPage *pPage, int flagByte)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 1777-1824
100.000% (12/12)
464
dbpageConnect
Name: dbpageConnect
Prototype: static int dbpageConnect( sqlite3 *db, void *pAux, int argc, const char *const*argv, sqlite3_vtab **ppVtab, char **pzErr )
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/dbpage.c
Lines: 66-91
 60.000% (6/10)
154
copyNodeContent
Name: copyNodeContent
Prototype: static void copyNodeContent(MemPage *pFrom, MemPage *pTo, int *pRC)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 7184-7223
 83.333% (10/12)
274
connectionIsBusy
Name: connectionIsBusy
Prototype: static int connectionIsBusy(sqlite3 *db)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 1067-1076
 83.333% (10/12)
94
computeYMD
Name: computeYMD
Prototype: static void computeYMD(DateTime *p)
Coverage:  73.333% (11/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 419-443
 73.333% (11/15)
214
comparisonAffinity
Name: comparisonAffinity
Prototype: static char comparisonAffinity(Expr *pExpr)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 254-269
100.000% (10/10)
174
codeExprOrVector
Name: codeExprOrVector
Prototype: static void codeExprOrVector(Parse *pParse, Expr *p, int iReg, int nReg)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wherecode.c
Lines: 1073-1095
100.000% (12/12)
194
closeCursorsInFrame
Name: closeCursorsInFrame
Prototype: static void closeCursorsInFrame(Vdbe *p)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 2218-2229
 90.000% (9/10)
74
checkPtrmap
Name: checkPtrmap
Prototype: static void checkPtrmap( IntegrityCk *pCheck, Pgno iChild, u8 eType, Pgno iParent )
Coverage:  78.571% (11/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 9358-9380
 78.571% (11/14)
124
checkConstraintExprNode
Name: checkConstraintExprNode
Prototype: static int checkConstraintExprNode(Walker *pWalker, Expr *pExpr)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/insert.c
Lines: 1140-1152
100.000% (10/10)
94
btreeSetHasContent
Name: btreeSetHasContent
Prototype: static int btreeSetHasContent(BtShared *pBt, Pgno pgno)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 590-603
100.000% (12/12)
114
btreeRestoreCursorPosition
Name: btreeRestoreCursorPosition
Prototype: static int btreeRestoreCursorPosition(BtCursor *pCur)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 827-847
 91.667% (11/12)
224
btreeEndTransaction
Name: btreeEndTransaction
Prototype: static void btreeEndTransaction(Btree *p)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 3935-3969
100.000% (13/13)
224
balance_deeper
Name: balance_deeper
Prototype: static int balance_deeper(MemPage *pRoot, MemPage **ppChild)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 8026-8071
 90.000% (9/10)
384
backupUpdate
Name: backupUpdate
Prototype: static __attribute__((noinline)) void backupUpdate( sqlite3_backup *p, Pgno iPage, const u8 *aData )
Coverage:  66.667% (8/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/backup.c
Lines: 690-714
 66.667% (8/12)
204
applyNumericAffinity
Name: applyNumericAffinity
Prototype: static void applyNumericAffinity(Mem *pRec, int bTryForInt)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbe.c
Lines: 277-296
100.000% (11/11)
144
allocateCursor
Name: allocateCursor
Prototype: static VdbeCursor *allocateCursor( Vdbe *p, int iCur, int nField, int iDb, u8 eCurType )
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbe.c
Lines: 208-260
100.000% (14/14)
364
zeroblobFunc
Name: zeroblobFunc
Prototype: static void zeroblobFunc( sqlite3_context *context, int argc, sqlite3_value **argv )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1164-1179
100.000% (7/7)
113
windowPartitionCache
Name: windowPartitionCache
Prototype: static void windowPartitionCache( Parse *pParse, Select *p, WhereInfo *pWInfo, int regFlushPart, int lblFlushPart, int *pRegSize )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 1248-1304
100.000% (7/7)
283
whereNthSubterm
Name: whereNthSubterm
Prototype: static WhereTerm *whereNthSubterm(WhereTerm *pTerm, int N)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/whereexpr.c
Lines: 473-481
100.000% (9/9)
53
walLimitSize
Name: walLimitSize
Prototype: static void walLimitSize(Wal *pWal, i64 nMax)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 1963-1975
 66.667% (6/9)
93
walHashGet
Name: walHashGet
Prototype: static int walHashGet( Wal *pWal, int iHash, WalHashLoc *pLoc )
Coverage:  87.500% (7/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 921-942
 87.500% (7/8)
133
vdbeMemFromBtreeResize
Name: vdbeMemFromBtreeResize
Prototype: static __attribute__((noinline)) int vdbeMemFromBtreeResize( BtCursor *pCur, u32 offset, u32 amt, Mem *pMem )
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 1118-1137
 85.714% (6/7)
103
vdbeMemClearExternAndSetNull
Name: vdbeMemClearExternAndSetNull
Prototype: static __attribute__((noinline)) void vdbeMemClearExternAndSetNull(Mem *p)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 455-468
100.000% (7/7)
173
vdbeMemClear
Name: vdbeMemClear
Prototype: static __attribute__((noinline)) void vdbeMemClear(Mem *p)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 478-487
100.000% (7/7)
63
vdbeLeave
Name: vdbeLeave
Prototype: static __attribute__((noinline)) void vdbeLeave(Vdbe *p)
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 1571-1584
 90.909% (10/11)
103
updateRangeAffinityStr
Name: updateRangeAffinityStr
Prototype: static void updateRangeAffinityStr( Expr *pRight, int n, char *zAff )
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wherecode.c
Lines: 363-377
100.000% (9/9)
63
unixModeBit
Name: unixModeBit
Prototype: static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 3901-3909
100.000% (7/7)
53
unixAccess
Name: unixAccess
Prototype: static int unixAccess( sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut )
Coverage:  93.750% (15/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 6210-6231
 93.750% (15/16)
213
sumInverse
Name: sumInverse
Prototype: static void sumInverse(sqlite3_context *context, int argc, sqlite3_value**argv)
Coverage:  72.727% (8/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1517-1538
 72.727% (8/11)
213
substExprList
Name: substExprList
Prototype: static void substExprList( SubstContext *pSubst, ExprList *pList )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 3483-3492
100.000% (7/7)
43
subjRequiresPage
Name: subjRequiresPage
Prototype: static int subjRequiresPage(PgHdr *pPg)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 1083-1095
100.000% (9/9)
93
statClearPage
Name: statClearPage
Prototype: static void statClearPage(StatPage *p)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/dbstat.c
Lines: 257-268
100.000% (7/7)
83
sqlite3_vtab_collation
Name: sqlite3_vtab_collation
Prototype: const char *sqlite3_vtab_collation(sqlite3_index_info *pIdxInfo, int iCons)
Coverage:  81.818% (9/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 3241-3254
 81.818% (9/11)
103
sqlite3_vfs_register
Name: sqlite3_vfs_register
Prototype: int sqlite3_vfs_register(sqlite3_vfs *pVfs, int makeDflt)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os.c
Lines: 384-407
 80.000% (8/10)
163
sqlite3_value_blob
Name: sqlite3_value_blob
Prototype: const void *sqlite3_value_blob(sqlite3_value *pVal)
Coverage:  81.818% (9/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 170-182
 81.818% (9/11)
103
sqlite3_trace_v2
Name: sqlite3_trace_v2
Prototype: int sqlite3_trace_v2( sqlite3 *db, unsigned mTrace, int(*xTrace)(unsigned,void*,void*,void*), void *pArg )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 2007-2026
100.000% (7/7)
83
sqlite3_stricmp
Name: sqlite3_stricmp
Prototype: int sqlite3_stricmp(const char *zLeft, const char *zRight)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 289-296
100.000% (9/9)
53
sqlite3_str_appendchar
Name: sqlite3_str_appendchar
Prototype: void sqlite3_str_appendchar(sqlite3_str *p, int N, char c)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 897-903
100.000% (9/9)
33
sqlite3_str_append
Name: sqlite3_str_append
Prototype: void sqlite3_str_append(sqlite3_str *p, const char *z, int N)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 925-937
100.000% (7/7)
203
sqlite3_stmt_status
Name: sqlite3_stmt_status
Prototype: int sqlite3_stmt_status(sqlite3_stmt *pStmt, int op, int resetFlag)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 1645-1670
100.000% (8/8)
143
sqlite3_result_text64
Name: sqlite3_result_text64
Prototype: void sqlite3_result_text64( sqlite3_context *pCtx, const char *z, sqlite3_uint64 n, void (*xDel)(void *), unsigned char enc )
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 423-438
 42.857% (3/7)
103
sqlite3_reset
Name: sqlite3_reset
Prototype: int sqlite3_reset(sqlite3_stmt *pStmt)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 124-140
100.000% (8/8)
153
sqlite3_overload_function
Name: sqlite3_overload_function
Prototype: int sqlite3_overload_function( sqlite3 *db, const char *zName, int nArg )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 1953-1974
100.000% (7/7)
103
sqlite3_get_auxdata
Name: sqlite3_get_auxdata
Prototype: void *sqlite3_get_auxdata(sqlite3_context *pCtx, int iArg)
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 837-852
 90.909% (10/11)
113
sqlite3_extended_errcode
Name: sqlite3_extended_errcode
Prototype: int sqlite3_extended_errcode(sqlite3 *db)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 2471-2479
 45.455% (5/11)
53
sqlite3_errcode
Name: sqlite3_errcode
Prototype: int sqlite3_errcode(sqlite3 *db)
Coverage:  81.818% (9/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 2462-2470
 81.818% (9/11)
53
sqlite3_db_release_memory
Name: sqlite3_db_release_memory
Prototype: int sqlite3_db_release_memory(sqlite3 *db)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 753-771
100.000% (7/7)
113
sqlite3_clear_bindings
Name: sqlite3_clear_bindings
Prototype: int sqlite3_clear_bindings(sqlite3_stmt *pStmt)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 145-163
 71.429% (5/7)
153
sqlite3_bind_text64
Name: sqlite3_bind_text64
Prototype: int sqlite3_bind_text64( sqlite3_stmt *pStmt, int i, const char *zData, sqlite3_uint64 nData, void (*xDel)(void*), unsigned char enc )
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 1427-1442
  0.000% (0/7)
73
sqlite3_bind_pointer
Name: sqlite3_bind_pointer
Prototype: int sqlite3_bind_pointer( sqlite3_stmt *pStmt, int i, void *pPtr, const char *zPTtype, void (*xDestructor)(void*) )
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 1400-1417
  0.000% (0/7)
93
sqlite3WithPush
Name: sqlite3WithPush
Prototype: void sqlite3WithPush(Parse *pParse, With *pWith, u8 bFree)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 4583-4591
100.000% (7/7)
103
sqlite3WithDelete
Name: sqlite3WithDelete
Prototype: void sqlite3WithDelete(sqlite3 *db, With *pWith)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4571-4582
100.000% (7/7)
83
sqlite3WindowListDup
Name: sqlite3WindowListDup
Prototype: Window *sqlite3WindowListDup(sqlite3 *db, Window *p)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 2153-2165
 71.429% (5/7)
83
Page:<>1
McCabe - Cyclomatic Complexity: 655
...3
McCabe - Cyclomatic Complexity: 10
4
McCabe - Cyclomatic Complexity: 7
5
McCabe - Cyclomatic Complexity: 6
6
McCabe - Cyclomatic Complexity: 5
78
McCabe - Cyclomatic Complexity: 3
9
McCabe - Cyclomatic Complexity: 3
10
McCabe - Cyclomatic Complexity: 2
11
McCabe - Cyclomatic Complexity: 2
...17
McCabe - Cyclomatic Complexity: 1

Generated by Squish Coco 4.2.2