OpenCoverage

SQLite Code Coverage

Function Tree

Page:<>1
McCabe - Cyclomatic Complexity: 655
2
McCabe - Cyclomatic Complexity: 17
3
McCabe - Cyclomatic Complexity: 10
4
McCabe - Cyclomatic Complexity: 7
5
McCabe - Cyclomatic Complexity: 6
67
McCabe - Cyclomatic Complexity: 4
8
McCabe - Cyclomatic Complexity: 3
9
McCabe - Cyclomatic Complexity: 3
10
McCabe - Cyclomatic Complexity: 2
...17
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
findBtree
Name: findBtree
Prototype: static Btree *findBtree(sqlite3 *pErrorDb, sqlite3 *pDb, const char *zDb)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/backup.c
Lines: 82-107
 69.231% (9/13)
175
exprSrcCount
Name: exprSrcCount
Prototype: static int exprSrcCount(Walker *pWalker, Expr *pExpr)
Coverage:  94.118% (16/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 5015-5036
 94.118% (16/17)
115
exprSelectUsage
Name: exprSelectUsage
Prototype: static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/whereexpr.c
Lines: 919-941
 92.308% (12/13)
175
exprNodeIsConstantOrGroupBy
Name: exprNodeIsConstantOrGroupBy
Prototype: static int exprNodeIsConstantOrGroupBy(Walker *pWalker, Expr *pExpr)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1944-1967
100.000% (13/13)
125
exprMightBeIndexed
Name: exprMightBeIndexed
Prototype: static int exprMightBeIndexed( SrcList *pFrom, Bitmask mPrereq, int *aiCurCol, Expr *pExpr, int op )
Coverage:  94.118% (16/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/whereexpr.c
Lines: 980-1005
 94.118% (16/17)
185
exprCommute
Name: exprCommute
Prototype: static void exprCommute(Parse *pParse, Expr *pExpr)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/whereexpr.c
Lines: 121-147
 84.615% (11/13)
285
dropCell
Name: dropCell
Prototype: static void dropCell(MemPage *pPage, int idx, int sz, int *pRC)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 6531-6570
 69.231% (9/13)
395
dotlockLock
Name: dotlockLock
Prototype: static int dotlockLock(sqlite3_file *id, int eFileLock)
Coverage:  64.286% (9/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 2256-2295
 64.286% (9/14)
285
disableTerm
Name: disableTerm
Prototype: static void disableTerm(WhereLevel *pLevel, WhereTerm *pTerm)
Coverage: 100.000% (22/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wherecode.c
Lines: 295-314
100.000% (22/22)
185
dbpageColumn
Name: dbpageColumn
Prototype: static int dbpageColumn( sqlite3_vtab_cursor *pCursor, sqlite3_context *ctx, int i )
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/dbpage.c
Lines: 262-291
 90.000% (9/10)
165
databaseIsUnmoved
Name: databaseIsUnmoved
Prototype: static int databaseIsUnmoved(Pager *pPager)
Coverage:  86.667% (13/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 4110-4127
 86.667% (13/15)
135
createTableStmt
Name: createTableStmt
Prototype: static char *createTableStmt(sqlite3 *db, Table *p)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 1582-1644
 85.714% (12/14)
505
createFunctionApi
Name: createFunctionApi
Prototype: static int createFunctionApi( sqlite3 *db, const char *zFunc, int nArg, int enc, void *p, void (*xSFunc)(sqlite3_context*,int,sqlite3_value**), void (*xStep)(sqlite3_context*,int,sqlite3_value**), void (*xFinal)(sqlite3_context*), void (*xValue)(sqlite3_context*), void (*xInverse)(sqlite3_context*,int,sqlite3_value**), void(*xDestroy)(void*) )
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 1796-1842
100.000% (13/13)
245
codeDeferredSeek
Name: codeDeferredSeek
Prototype: static void codeDeferredSeek( WhereInfo *pWInfo, Index *pIdx, int iCur, int iIdxCur )
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wherecode.c
Lines: 1034-1062
 88.235% (15/17)
225
codeApplyAffinity
Name: codeApplyAffinity
Prototype: static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff)
Coverage: 100.000% (17/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wherecode.c
Lines: 327-351
100.000% (17/17)
175
clearSelect
Name: clearSelect
Prototype: static void clearSelect(sqlite3 *db, Select *p, int bFree)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 89-109
100.000% (13/13)
155
checkAppendMsg
Name: checkAppendMsg
Prototype: static void checkAppendMsg( IntegrityCk *pCheck, const char *zFormat, ... )
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 9287-9308
 69.231% (9/13)
295
btreeParseCellPtrIndex
Name: btreeParseCellPtrIndex
Prototype: static void btreeParseCellPtrIndex( MemPage *pPage, u8 *pCell, CellInfo *pInfo )
Coverage:  93.333% (14/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 1212-1248
 93.333% (14/15)
275
btreeHeapPull
Name: btreeHeapPull
Prototype: static int btreeHeapPull(u32 *aHeap, u32 *pOut)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 9486-9503
100.000% (13/13)
155
withDup
Name: withDup
Prototype: static With *withDup(sqlite3 *db, With *p)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1312-1328
100.000% (10/10)
124
windowInitAccum
Name: windowInitAccum
Prototype: static int windowInitAccum(Parse *pParse, Window *pMWin)
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 1431-1456
100.000% (16/16)
214
whereRangeScanEst
Name: whereRangeScanEst
Prototype: static int whereRangeScanEst( Parse *pParse, WhereLoopBuilder *pBuilder, WhereTerm *pLower, WhereTerm *pUpper, WhereLoop *pLoop )
Coverage:  93.750% (15/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1459-1620
 93.750% (15/16)
204
whereRangeAdjust
Name: whereRangeAdjust
Prototype: static LogEst whereRangeAdjust(WhereTerm *pTerm, LogEst nNew)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1284-1294
 90.000% (9/10)
104
whereLoopXfer
Name: whereLoopXfer
Prototype: static int whereLoopXfer(sqlite3 *db, WhereLoop *pTo, WhereLoop *pFrom)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1894-1908
100.000% (10/10)
234
whereLoopResize
Name: whereLoopResize
Prototype: static int whereLoopResize(sqlite3 *db, WhereLoop *p, int n)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1878-1889
100.000% (10/10)
104
whereLoopClearUnion
Name: whereLoopClearUnion
Prototype: static void whereLoopClearUnion(sqlite3 *db, WhereLoop *p)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1852-1864
100.000% (14/14)
94
whereInfoFree
Name: whereInfoFree
Prototype: static void whereInfoFree(sqlite3 *db, WhereInfo *pWInfo)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1921-1937
100.000% (12/12)
144
whereIndexExprTrans
Name: whereIndexExprTrans
Prototype: static void whereIndexExprTrans( Index *pIdx, int iTabCur, int iIdxCur, WhereInfo *pWInfo )
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wherecode.c
Lines: 1132-1158
100.000% (10/10)
214
walWriteToLog
Name: walWriteToLog
Prototype: static int walWriteToLog( WalWriter *p, void *pContent, int iAmt, sqlite3_int64 iOffset )
Coverage:  78.571% (11/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 3203-3223
 78.571% (11/14)
154
walMerge
Name: walMerge
Prototype: static void walMerge( const u32 *aContent, ht_slot *aLeft, int nLeft, ht_slot **paRight, int *pnRight, ht_slot *aTmp )
Coverage: 100.000% (19/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 1476-1514
100.000% (19/19)
274
walIndexClose
Name: walIndexClose
Prototype: static void walIndexClose(Wal *pWal, int isDelete)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 1307-1318
100.000% (12/12)
74
walDecodeFrame
Name: walDecodeFrame
Prototype: static int walDecodeFrame( Wal *pWal, u32 *piPage, u32 *pnTruncate, u8 *aData, u8 *aFrame )
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 768-815
 75.000% (9/12)
204
walCleanupHash
Name: walCleanupHash
Prototype: static void walCleanupHash(Wal *pWal)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 984-1037
100.000% (10/10)
244
vtabBestIndex
Name: vtabBestIndex
Prototype: static int vtabBestIndex(Parse *pParse, Table *pTab, sqlite3_index_info *p)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 1043-1075
 60.000% (6/10)
124
vdbeFreeOpArray
Name: vdbeFreeOpArray
Prototype: static void vdbeFreeOpArray(sqlite3 *db, Op *aOp, int nOp)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 984-995
100.000% (10/10)
54
vdbeCompareMemString
Name: vdbeCompareMemString
Prototype: static int vdbeCompareMemString( const Mem *pMem1, const Mem *pMem2, const CollSeq *pColl, u8 *prcErr )
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 3873-3904
 53.846% (7/13)
194
vdbeChangeP4Full
Name: vdbeChangeP4Full
Prototype: static void __attribute__((noinline)) vdbeChangeP4Full( Vdbe *p, Op *pOp, const char *zP4, int n )
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 1051-1069
100.000% (10/10)
94
upperFunc
Name: upperFunc
Prototype: static void upperFunc(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: 430-448
 90.000% (9/10)
154
unixFileSize
Name: unixFileSize
Prototype: static int unixFileSize(sqlite3_file *id, i64 *pSize)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 3794-3816
100.000% (14/14)
174
unixFileLock
Name: unixFileLock
Prototype: static int unixFileLock(unixFile *pFile, struct flock *pLock)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 1585-1609
100.000% (11/11)
414
tableAndColumnIndex
Name: tableAndColumnIndex
Prototype: static int tableAndColumnIndex( SrcList *pSrc, int N, const char *zCol, int *piTab, int *piCol )
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 293-315
100.000% (10/10)
134
sumStep
Name: sumStep
Prototype: static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv)
Coverage:  92.857% (13/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1495-1515
 92.857% (13/14)
174
sumFinalize
Name: sumFinalize
Prototype: static void sumFinalize(sqlite3_context *context)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1542-1554
100.000% (12/12)
84
sqliteViewResetAll
Name: sqliteViewResetAll
Prototype: static void sqliteViewResetAll(sqlite3 *db, int idx)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 2360-2373
100.000% (10/10)
124
sqliteDefaultBusyCallback
Name: sqliteDefaultBusyCallback
Prototype: static int sqliteDefaultBusyCallback( void *ptr, int count, sqlite3_file *pFile )
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 1505-1561
100.000% (11/11)
174
sqlite3_transfer_bindings
Name: sqlite3_transfer_bindings
Prototype: int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 1574-1589
 40.000% (4/10)
154
sqlite3_strnicmp
Name: sqlite3_strnicmp
Prototype: int sqlite3_strnicmp(const char *zLeft, const char *zRight, int N)
Coverage:  83.333% (15/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 310-321
 83.333% (15/18)
94
sqlite3_limit
Name: sqlite3_limit
Prototype: int sqlite3_limit(sqlite3 *db, int limitId, int newLimit)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 2637-2679
 75.000% (9/12)
494
sqlite3_finalize
Name: sqlite3_finalize
Prototype: int sqlite3_finalize(sqlite3_stmt *pStmt)
Coverage:  63.636% (7/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 97-114
 63.636% (7/11)
124
sqlite3_db_cacheflush
Name: sqlite3_db_cacheflush
Prototype: int sqlite3_db_cacheflush(sqlite3 *db)
Coverage:  83.333% (15/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 777-801
 83.333% (15/18)
164
sqlite3_compileoption_used
Name: sqlite3_compileoption_used
Prototype: int sqlite3_compileoption_used(const char *zOptName)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 4295-4322
100.000% (12/12)
114
sqlite3WindowAttach
Name: sqlite3WindowAttach
Prototype: void sqlite3WindowAttach(Parse *pParse, Expr *p, Window *pWin)
Coverage:  70.000% (7/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 960-978
 70.000% (7/10)
124
sqlite3WalUndo
Name: sqlite3WalUndo
Prototype: int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 3049-3081
 83.333% (10/12)
144
sqlite3WalBeginWriteTransaction
Name: sqlite3WalBeginWriteTransaction
Prototype: int sqlite3WalBeginWriteTransaction(Wal *pWal)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/wal.c
Lines: 2989-3021
100.000% (10/10)
184
sqlite3VdbeTransferError
Name: sqlite3VdbeTransferError
Prototype: int sqlite3VdbeTransferError(Vdbe *p)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 2948-2963
100.000% (10/10)
134
sqlite3VdbeReset
Name: sqlite3VdbeReset
Prototype: int sqlite3VdbeReset(Vdbe *p)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 2997-3082
100.000% (12/12)
134
sqlite3VdbeRealValue
Name: sqlite3VdbeRealValue
Prototype: double sqlite3VdbeRealValue(Mem *pMem)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 581-594
100.000% (10/10)
134
sqlite3VdbeMemStringify
Name: sqlite3VdbeMemStringify
Prototype: int sqlite3VdbeMemStringify(Mem *pMem, u8 enc, u8 bForce)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 351-386
100.000% (11/11)
354
sqlite3VdbeMemNumerify
Name: sqlite3VdbeMemNumerify
Prototype: int sqlite3VdbeMemNumerify(Mem *pMem)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 681-703
100.000% (12/12)
224
sqlite3VdbeMemCopy
Name: sqlite3VdbeMemCopy
Prototype: int sqlite3VdbeMemCopy(Mem *pTo, const Mem *pFrom)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 970-985
100.000% (10/10)
244
sqlite3VdbeIntValue
Name: sqlite3VdbeIntValue
Prototype: i64 sqlite3VdbeIntValue(Mem *pMem)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbemem.c
Lines: 552-567
100.000% (10/10)
184
sqlite3VdbeGetBoundValue
Name: sqlite3VdbeGetBoundValue
Prototype: sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 4705-4720
 90.000% (9/10)
154
sqlite3VdbeEnter
Name: sqlite3VdbeEnter
Prototype: void sqlite3VdbeEnter(Vdbe *p)
Coverage:  92.857% (13/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 1550-1564
 92.857% (13/14)
114
sqlite3VdbeDeleteAuxData
Name: sqlite3VdbeDeleteAuxData
Prototype: void sqlite3VdbeDeleteAuxData(sqlite3 *db, AuxData **pp, int iOp, int mask)
Coverage:  83.333% (15/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 3114-3132
 83.333% (15/18)
114
sqlite3VdbeCursorMoveto
Name: sqlite3VdbeCursorMoveto
Prototype: int sqlite3VdbeCursorMoveto(VdbeCursor **pp, int *piCol)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 3261-3277
100.000% (12/12)
144
sqlite3VdbeAddOpList
Name: sqlite3VdbeAddOpList
Prototype: VdbeOp *sqlite3VdbeAddOpList( Vdbe *p, int nOp, VdbeOpList const *aOp, int iLineno )
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 810-852
 85.714% (12/14)
274
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
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
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
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
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
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
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
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
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
sqlite3PcacheSetSpillsize
Name: sqlite3PcacheSetSpillsize
Prototype: int sqlite3PcacheSetSpillsize(PCache *p, int mxPage)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache.c
Lines: 819-831
100.000% (10/10)
114
sqlite3PcacheSetPageSize
Name: sqlite3PcacheSetPageSize
Prototype: int sqlite3PcacheSetPageSize(PCache *pCache, int szPage)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache.c
Lines: 317-335
100.000% (10/10)
164
sqlite3PagerOpenWal
Name: sqlite3PagerOpenWal
Prototype: int sqlite3PagerOpenWal( Pager *pPager, int *pbOpen )
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 7535-7563
100.000% (13/13)
254
sqlite3PagerFlush
Name: sqlite3PagerFlush
Prototype: int sqlite3PagerFlush(Pager *pPager)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 4664-4679
100.000% (12/12)
124
sqlite3PagerClose
Name: sqlite3PagerClose
Prototype: int sqlite3PagerClose(Pager *pPager, sqlite3 *db)
Coverage: 100.000% (15/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 4144-4204
100.000% (15/15)
404
sqlite3PExpr
Name: sqlite3PExpr
Prototype: Expr *sqlite3PExpr( Parse *pParse, int op, Expr *pLeft, Expr *pRight )
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 846-869
100.000% (13/13)
124
sqlite3OpenTempDatabase
Name: sqlite3OpenTempDatabase
Prototype: int sqlite3OpenTempDatabase(Parse *pParse)
Coverage:  66.667% (8/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 4145-4172
 66.667% (8/12)
184
sqlite3LogEst
Name: sqlite3LogEst
Prototype: LogEst sqlite3LogEst(u64 x)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1460-1477
100.000% (11/11)
84
sqlite3IsRowid
Name: sqlite3IsRowid
Prototype: int sqlite3IsRowid(const char *z)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 2146-2151
100.000% (10/10)
44
sqlite3InvokeBusyHandler
Name: sqlite3InvokeBusyHandler
Prototype: int sqlite3InvokeBusyHandler(BusyHandler *p, sqlite3_file *pFile)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 1572-1591
100.000% (14/14)
114
sqlite3IndexedByLookup
Name: sqlite3IndexedByLookup
Prototype: int sqlite3IndexedByLookup(Parse *pParse, struct SrcList_item *pFrom)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 4440-4457
100.000% (14/14)
134
sqlite3IndexAffinityOk
Name: sqlite3IndexAffinityOk
Prototype: int sqlite3IndexAffinityOk(Expr *pExpr, char idx_affinity)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 277-287
100.000% (6/6)
54
sqlite3IdListIndex
Name: sqlite3IdListIndex
Prototype: int sqlite3IdListIndex(IdList *pList, const char *zName)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 3758-3765
100.000% (10/10)
54
sqlite3GetVarint32
Name: sqlite3GetVarint32
Prototype: u8 sqlite3GetVarint32(const unsigned char *p, u32 *v)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/util.c
Lines: 1057-1174
100.000% (11/11)
294
sqlite3FixExprList
Name: sqlite3FixExprList
Prototype: int sqlite3FixExprList( DbFixer *pFix, ExprList *pList )
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/attach.c
Lines: 579-592
100.000% (10/10)
74
sqlite3FindIndex
Name: sqlite3FindIndex
Prototype: Index *sqlite3FindIndex(sqlite3 *db, const char *zName, const char *zDb)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 422-437
100.000% (14/14)
184
sqlite3ExprVectorSize
Name: sqlite3ExprVectorSize
Prototype: int sqlite3ExprVectorSize(Expr *pExpr)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 374-384
100.000% (10/10)
74
sqlite3ExprListSetName
Name: sqlite3ExprListSetName
Prototype: void sqlite3ExprListSetName( Parse *pParse, ExprList *pList, Token *pName, int dequote )
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1659-1677
100.000% (10/10)
164
sqlite3ExprFunction
Name: sqlite3ExprFunction
Prototype: Expr *sqlite3ExprFunction( Parse *pParse, ExprList *pList, Token *pToken, int eDistinct )
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 942-965
 83.333% (10/12)
194
sqlite3ExprForVectorField
Name: sqlite3ExprForVectorField
Prototype: Expr *sqlite3ExprForVectorField( Parse *pParse, Expr *pVector, int iField )
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 435-470
 90.909% (10/11)
154
sqlite3ExprCheckIN
Name: sqlite3ExprCheckIN
Prototype: int sqlite3ExprCheckIN(Parse *pParse, Expr *pIn)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 2863-2875
 80.000% (8/10)
94
sqlite3ExprAttachSubtrees
Name: sqlite3ExprAttachSubtrees
Prototype: void sqlite3ExprAttachSubtrees( sqlite3 *db, Expr *pRoot, Expr *pLeft, Expr *pRight )
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 816-837
100.000% (10/10)
134
sqlite3ExprAnd
Name: sqlite3ExprAnd
Prototype: Expr *sqlite3ExprAnd(sqlite3 *db, Expr *pLeft, Expr *pRight)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 922-936
100.000% (12/12)
114
sqlite3ExpandSubquery
Name: sqlite3ExpandSubquery
Prototype: int sqlite3ExpandSubquery(Parse *pParse, struct SrcList_item *pFrom)
Coverage:  81.818% (9/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 4754-4774
 81.818% (9/11)
204
Page:<>1
McCabe - Cyclomatic Complexity: 655
2
McCabe - Cyclomatic Complexity: 17
3
McCabe - Cyclomatic Complexity: 10
4
McCabe - Cyclomatic Complexity: 7
5
McCabe - Cyclomatic Complexity: 6
67
McCabe - Cyclomatic Complexity: 4
8
McCabe - Cyclomatic Complexity: 3
9
McCabe - Cyclomatic Complexity: 3
10
McCabe - Cyclomatic Complexity: 2
...17
McCabe - Cyclomatic Complexity: 1

Generated by Squish Coco 4.2.2