OpenCoverage

SQLite Code Coverage

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 655
...8
McCabe - Cyclomatic Complexity: 3
9
McCabe - Cyclomatic Complexity: 3
10
McCabe - Cyclomatic Complexity: 2
11
McCabe - Cyclomatic Complexity: 2
1213
McCabe - Cyclomatic Complexity: 2
14
McCabe - Cyclomatic Complexity: 1
15
McCabe - Cyclomatic Complexity: 1
16
McCabe - Cyclomatic Complexity: 1
17
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
setRawDateNumber
Name: setRawDateNumber
Prototype: static void setRawDateNumber(DateTime *p, double r)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 354-361
 83.333% (5/6)
52
setLikeOptFlag
Name: setLikeOptFlag
Prototype: static void setLikeOptFlag(sqlite3 *db, const char *zName, u8 flagVal)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1799-1805
 75.000% (3/4)
42
setDateTimeToCurrent
Name: setDateTimeToCurrent
Prototype: static int setDateTimeToCurrent(sqlite3_context *context, DateTime *p)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 338-346
 50.000% (2/4)
52
serialGet
Name: serialGet
Prototype: static u32 __attribute__((noinline)) serialGet( const unsigned char *buf, u32 serial_type, Mem *pMem )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 3530-3565
100.000% (7/7)
122
selectWindowRewriteSelectCb
Name: selectWindowRewriteSelectCb
Prototype: static int selectWindowRewriteSelectCb(Walker *pWalker, Select *pSelect)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 665-676
100.000% (5/5)
82
row_numberStepFunc
Name: row_numberStepFunc
Prototype: static void row_numberStepFunc( sqlite3_context *pCtx, int nArg, sqlite3_value **apArg )
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 147-156
 75.000% (3/4)
42
robust_ftruncate
Name: robust_ftruncate
Prototype: static int robust_ftruncate(int h, sqlite3_int64 sz)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 822-835
 50.000% (3/6)
92
robust_close
Name: robust_close
Prototype: static void robust_close(unixFile *pFile, int h, int lineno)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 1269-1274
 50.000% (2/4)
32
returnSingleText
Name: returnSingleText
Prototype: static void returnSingleText( Vdbe *v, const char *zValue )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 195-203
100.000% (4/4)
32
releasePage
Name: releasePage
Prototype: static void releasePage(MemPage *pPage)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 2160-2162
100.000% (4/4)
12
read32bits
Name: read32bits
Prototype: static int read32bits(sqlite3_file *fd, i64 offset, u32 *pRes)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 1113-1120
100.000% (4/4)
52
rankValueFunc
Name: rankValueFunc
Prototype: static void rankValueFunc(sqlite3_context *pCtx)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 223-230
 75.000% (3/4)
52
randomFunc
Name: randomFunc
Prototype: static void randomFunc( sqlite3_context *context, int NotUsed, sqlite3_value **NotUsed2 )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 482-502
100.000% (4/4)
62
printfFunc
Name: printfFunc
Prototype: static void printfFunc( sqlite3_context *context, int argc, sqlite3_value **argv )
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 237-259
100.000% (6/6)
152
pragmaVtabOpen
Name: pragmaVtabOpen
Prototype: static int pragmaVtabOpen(sqlite3_vtab *pVtab, sqlite3_vtab_cursor **ppCursor)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 2312-2320
 50.000% (2/4)
72
pragmaVtabNext
Name: pragmaVtabNext
Prototype: static int pragmaVtabNext(sqlite3_vtab_cursor *pVtabCursor)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 2342-2355
100.000% (4/4)
112
pragmaVtabCursorClear
Name: pragmaVtabCursorClear
Prototype: static void pragmaVtabCursorClear(PragmaVtabCursor *pCsr)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 2323-2331
100.000% (4/4)
62
pragmaVtabColumn
Name: pragmaVtabColumn
Prototype: static int pragmaVtabColumn( sqlite3_vtab_cursor *pVtabCursor, sqlite3_context *ctx, int i )
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pragma.c
Lines: 2418-2431
 60.000% (3/5)
62
pcacheUnpin
Name: pcacheUnpin
Prototype: static void pcacheUnpin(PgHdr *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache.c
Lines: 228-234
100.000% (4/4)
22
pcache1Unpin
Name: pcache1Unpin
Prototype: static void pcache1Unpin( sqlite3_pcache *p, sqlite3_pcache_page *pPg, int reuseUnlikely )
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 1056-1086
100.000% (7/7)
252
pcache1UnderMemoryPressure
Name: pcache1UnderMemoryPressure
Prototype: static int pcache1UnderMemoryPressure(PCache1 *pCache)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 505-511
100.000% (6/6)
32
pcache1Truncate
Name: pcache1Truncate
Prototype: static void pcache1Truncate(sqlite3_pcache *p, unsigned int iLimit)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 1131-1139
100.000% (4/4)
102
pcache1Shrink
Name: pcache1Shrink
Prototype: static void pcache1Shrink(sqlite3_pcache *p)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 818-830
 75.000% (3/4)
142
pcache1FreePage
Name: pcache1FreePage
Prototype: static void pcache1FreePage(PgHdr1 *p)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 455-470
100.000% (5/5)
132
pcache1Destroy
Name: pcache1Destroy
Prototype: static void pcache1Destroy(sqlite3_pcache *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 1146-1162
100.000% (4/4)
252
pcache1Cachesize
Name: pcache1Cachesize
Prototype: static void pcache1Cachesize(sqlite3_pcache *p, int nMax)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache1.c
Lines: 799-811
100.000% (4/4)
142
pager_wait_on_lock
Name: pager_wait_on_lock
Prototype: static int pager_wait_on_lock(Pager *pPager, int locktype)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 3922-3939
100.000% (6/6)
102
pager_error
Name: pager_error
Prototype: static int pager_error(Pager *pPager, int rc)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 1928-1942
100.000% (6/6)
162
pager_cksum
Name: pager_cksum
Prototype: static u32 pager_cksum(Pager *pPager, const u8 *aData)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 2204-2212
100.000% (4/4)
62
pagerUnlockIfUnused
Name: pagerUnlockIfUnused
Prototype: static void pagerUnlockIfUnused(Pager *pPager)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 5377-5382
100.000% (4/4)
52
pagerRollbackWal
Name: pagerRollbackWal
Prototype: static int pagerRollbackWal(Pager *pPager)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 3143-3164
100.000% (6/6)
102
pagerFreeMapHdrs
Name: pagerFreeMapHdrs
Prototype: static void pagerFreeMapHdrs(Pager *pPager)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 4096-4103
100.000% (4/4)
52
pagerFixMaplimit
Name: pagerFixMaplimit
Prototype: static void pagerFixMaplimit(Pager *pPager)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 3529-3540
100.000% (6/6)
72
pagerExclusiveLock
Name: pagerExclusiveLock
Prototype: static int pagerExclusiveLock(Pager *pPager)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 7470-7482
100.000% (4/4)
82
out2Prerelease
Name: out2Prerelease
Prototype: static Mem *out2Prerelease(Vdbe *p, VdbeOp *pOp)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbe.c
Lines: 568-580
100.000% (4/4)
122
osLocaltime
Name: osLocaltime
Prototype: static int osLocaltime(time_t *t, struct tm *pTm)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 513-539
100.000% (4/4)
42
numberOfCachePages
Name: numberOfCachePages
Prototype: static int numberOfCachePages(PCache *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pcache.c
Lines: 240-251
100.000% (4/4)
32
nullifFunc
Name: nullifFunc
Prototype: static void nullifFunc( sqlite3_context *context, int NotUsed, sqlite3_value **argv )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 886-896
100.000% (4/4)
42
nocaseCollatingFunc
Name: nocaseCollatingFunc
Prototype: static int nocaseCollatingFunc( void *NotUsed, int nKey1, const void *pKey1, int nKey2, const void *pKey2 )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/main.c
Lines: 931-943
100.000% (4/4)
62
moveToLeftmost
Name: moveToLeftmost
Prototype: static int moveToLeftmost(BtCursor *pCur)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 5132-5145
100.000% (6/6)
162
moveToChild
Name: moveToChild
Prototype: static int moveToChild(BtCursor *pCur, u32 newPgno)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 4955-4972
100.000% (4/4)
222
makeSorterRecord
Name: makeSorterRecord
Prototype: static int makeSorterRecord( Parse *pParse, SortCtx *pSort, Select *pSelect, int regBase, int nBase )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 567-582
100.000% (4/4)
72
local_ioerr
Name: local_ioerr
Prototype: static void local_ioerr()
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_common.h
Lines: 73-77
 75.000% (3/4)
22
last_valueValueFunc
Name: last_valueValueFunc
Prototype: static void last_valueValueFunc(sqlite3_context *pCtx)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 407-413
 83.333% (5/6)
42
last_valueFinalizeFunc
Name: last_valueFinalizeFunc
Prototype: static void last_valueFinalizeFunc(sqlite3_context *pCtx)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 414-422
 83.333% (5/6)
62
juliandayFunc
Name: juliandayFunc
Prototype: static void juliandayFunc( sqlite3_context *context, int argc, sqlite3_value **argv )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 916-926
100.000% (4/4)
42
journalHdrOffset
Name: journalHdrOffset
Prototype: static i64 journalHdrOffset(Pager *pPager)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/pager.c
Lines: 1367-1377
100.000% (4/4)
142
invalidateAllOverflowCache
Name: invalidateAllOverflowCache
Prototype: static void invalidateAllOverflowCache(BtShared *pBt)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 508-514
100.000% (4/4)
62
initMemArray
Name: initMemArray
Prototype: static void initMemArray(Mem *p, int N, sqlite3 *db, u16 flags)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 1621-1631
100.000% (4/4)
52
heightOfSelect
Name: heightOfSelect
Prototype: static void heightOfSelect(Select *pSelect, int *pnHeight)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 659-669
100.000% (4/4)
82
handleMovedCursor
Name: handleMovedCursor
Prototype: static int __attribute__((noinline)) handleMovedCursor(VdbeCursor *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 3225-3234
100.000% (4/4)
142
growOp3
Name: growOp3
Prototype: static __attribute__((noinline)) int growOp3(Vdbe *p, int op, int p1, int p2, int p3)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 166-171
100.000% (4/4)
82
getTextArg
Name: getTextArg
Prototype: static char *getTextArg(PrintfArguments *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 153-156
100.000% (4/4)
22
getIntArg
Name: getIntArg
Prototype: static sqlite3_int64 getIntArg(PrintfArguments *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 145-148
100.000% (4/4)
22
getFileMode
Name: getFileMode
Prototype: static int getFileMode( const char *zFile, mode_t *pMode, uid_t *pUid, gid_t *pGid )
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 5781-5797
 60.000% (3/5)
82
getDoubleArg
Name: getDoubleArg
Prototype: static double getDoubleArg(PrintfArguments *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 149-152
100.000% (4/4)
22
getCellInfo
Name: getCellInfo
Prototype: static __attribute__((noinline)) void getCellInfo(BtCursor *pCur)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 4436-4443
100.000% (4/4)
32
generateColumnTypes
Name: generateColumnTypes
Prototype: static void generateColumnTypes( Parse *pParse, SrcList *pTabList, ExprList *pEList )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 1764-1798
100.000% (4/4)
112
full_fsync
Name: full_fsync
Prototype: static int full_fsync(int fd, int fullSync, int dataOnly)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 3561-3632
100.000% (4/4)
72
freeTempSpace
Name: freeTempSpace
Prototype: static void freeTempSpace(BtShared *pBt)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 2625-2631
100.000% (4/4)
42
freePage
Name: freePage
Prototype: static void freePage(MemPage *pPage, int *pRC)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 6248-6252
 75.000% (3/4)
22
freeP4Mem
Name: freeP4Mem
Prototype: static __attribute__((noinline)) void freeP4Mem(sqlite3 *db, Mem *p)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 927-930
  0.000% (0/4)
22
freeEphemeralFunction
Name: freeEphemeralFunction
Prototype: static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeaux.c
Lines: 916-920
100.000% (4/4)
22
findRightmost
Name: findRightmost
Prototype: static Select *findRightmost(Select *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 193-196
100.000% (4/4)
22
finalizeAggFunctions
Name: finalizeAggFunctions
Prototype: static void finalizeAggFunctions(Parse *pParse, AggInfo *pAggInfo)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5263-5273
100.000% (4/4)
102
fetchPayload
Name: fetchPayload
Prototype: static const void *fetchPayload( BtCursor *pCur, u32 *pAmt )
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 4902-4924
 83.333% (5/6)
332
exprNodeIsDeterministic
Name: exprNodeIsDeterministic
Prototype: static int exprNodeIsDeterministic(Walker *pWalker, Expr *pExpr)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/where.c
Lines: 4456-4462
100.000% (6/6)
42
exprListDeleteNN
Name: exprListDeleteNN
Prototype: static __attribute__((noinline)) void exprListDeleteNN(sqlite3 *db, ExprList *pList)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1723-1734
100.000% (4/4)
112
exprIdxCover
Name: exprIdxCover
Prototype: static int exprIdxCover(Walker *pWalker, Expr *pExpr)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 4962-4971
100.000% (8/8)
62
exprCodeSubselect
Name: exprCodeSubselect
Prototype: static int exprCodeSubselect(Parse *pParse, Expr *pExpr)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 480-488
100.000% (4/4)
42
exprCodeBetween
Name: exprCodeBetween
Prototype: static void exprCodeBetween( Parse *pParse, Expr *pExpr, int dest, void (*xJump)(Parse*,Expr*,int,int), int jumpIfNull )
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 4257-4310
100.000% (5/5)
272
explainSimpleCount
Name: explainSimpleCount
Prototype: static void explainSimpleCount( Parse *pParse, Table *pTab, Index *pIdx )
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 5356-5369
 90.000% (9/10)
72
et_getdigit
Name: et_getdigit
Prototype: static char et_getdigit(long double *val, int *cnt)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 120-130
100.000% (4/4)
92
estimateIndexWidth
Name: estimateIndexWidth
Prototype: static void estimateIndexWidth(Index *pIdx)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 1688-1698
100.000% (6/6)
102
enlargeAndAppend
Name: enlargeAndAppend
Prototype: static void __attribute__((noinline)) enlargeAndAppend(StrAccum *p, const char *z, int N)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/printf.c
Lines: 913-919
100.000% (4/4)
42
dupedExprNodeSize
Name: dupedExprNodeSize
Prototype: static int dupedExprNodeSize(Expr *p, int flags)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/expr.c
Lines: 1167-1173
100.000% (6/6)
42
dense_rankStepFunc
Name: dense_rankStepFunc
Prototype: static void dense_rankStepFunc( sqlite3_context *pCtx, int nArg, sqlite3_value **apArg )
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 178-188
 75.000% (3/4)
52
dbpageOpen
Name: dbpageOpen
Prototype: static int dbpageOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/dbpage.c
Lines: 165-179
 60.000% (3/5)
92
dbpageClose
Name: dbpageClose
Prototype: static int dbpageClose(sqlite3_vtab_cursor *pCursor)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/dbpage.c
Lines: 184-189
 75.000% (3/4)
42
datetimeFunc
Name: datetimeFunc
Prototype: static void datetimeFunc( sqlite3_context *context, int argc, sqlite3_value **argv )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 933-946
100.000% (4/4)
72
dateFunc
Name: dateFunc
Prototype: static void dateFunc( sqlite3_context *context, int argc, sqlite3_value **argv )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 972-984
100.000% (4/4)
62
cume_distValueFunc
Name: cume_distValueFunc
Prototype: static void cume_distValueFunc(sqlite3_context *pCtx)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/window.c
Lines: 293-300
 83.333% (5/6)
52
countStep
Name: countStep
Prototype: static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv)
Coverage:  87.500% (7/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1584-1599
 87.500% (7/8)
82
countInverse
Name: countInverse
Prototype: static void countInverse(sqlite3_context *ctx, int argc, sqlite3_value **argv)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 1606-1616
 50.000% (4/8)
42
computeHMS
Name: computeHMS
Prototype: static void computeHMS(DateTime *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/date.c
Lines: 448-462
100.000% (4/4)
132
compileoptionusedFunc
Name: compileoptionusedFunc
Prototype: static void compileoptionusedFunc( sqlite3_context *context, int argc, sqlite3_value **argv )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/func.c
Lines: 950-965
100.000% (4/4)
72
columnMallocFailure
Name: columnMallocFailure
Prototype: static void columnMallocFailure(sqlite3_stmt *pStmt)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/vdbeapi.c
Lines: 1020-1034
 75.000% (3/4)
102
codeTableLocks
Name: codeTableLocks
Prototype: static void codeTableLocks(Parse *pParse)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/build.c
Lines: 91-104
100.000% (4/4)
112
codeOffset
Name: codeOffset
Prototype: static void codeOffset( Vdbe *v, int iOffset, int iContinue )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 729-738
100.000% (4/4)
22
closePendingFds
Name: closePendingFds
Prototype: static void closePendingFds(unixFile *pFile)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/os_unix.c
Lines: 1287-1298
100.000% (4/4)
112
checkReadTransaction
Name: checkReadTransaction
Prototype: static int checkReadTransaction(sqlite3 *db, Btree *p)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/backup.c
Lines: 125-131
100.000% (4/4)
42
cellSizePtrNoPayload
Name: cellSizePtrNoPayload
Prototype: static u16 cellSizePtrNoPayload(MemPage *pPage, u8 *pCell)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 1317-1337
100.000% (6/6)
122
cannotBeFunction
Name: cannotBeFunction
Prototype: static int cannotBeFunction(Parse *pParse, struct SrcList_item *pFrom)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/select.c
Lines: 4533-4539
100.000% (4/4)
42
cachedCellSize
Name: cachedCellSize
Prototype: static u16 cachedCellSize(CellArray *p, int N)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 6715-6719
100.000% (4/4)
52
btreeParseCellAdjustSizeForOverflow
Name: btreeParseCellAdjustSizeForOverflow
Prototype: static __attribute__((noinline)) void btreeParseCellAdjustSizeForOverflow( MemPage *pPage, u8 *pCell, CellInfo *pInfo )
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 1082-1111
100.000% (5/5)
102
btreePageLookup
Name: btreePageLookup
Prototype: static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 2056-2064
100.000% (4/4)
82
btreePageFromDbPage
Name: btreePageFromDbPage
Prototype: static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 2010-2021
100.000% (6/6)
112
btreeHeapInsert
Name: btreeHeapInsert
Prototype: static void btreeHeapInsert(u32 *aHeap, u32 x)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 9476-9485
100.000% (6/6)
72
btreeGetPage
Name: btreeGetPage
Prototype: static int btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags )
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/btree.c
Lines: 2034-2049
100.000% (4/4)
122
backupTruncateFile
Name: backupTruncateFile
Prototype: static int backupTruncateFile(sqlite3_file *pFile, i64 iSize)
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/sqlite/src/src/backup.c
Lines: 323-330
 66.667% (4/6)
52
Page:<>1
McCabe - Cyclomatic Complexity: 655
...8
McCabe - Cyclomatic Complexity: 3
9
McCabe - Cyclomatic Complexity: 3
10
McCabe - Cyclomatic Complexity: 2
11
McCabe - Cyclomatic Complexity: 2
1213
McCabe - Cyclomatic Complexity: 2
14
McCabe - Cyclomatic Complexity: 1
15
McCabe - Cyclomatic Complexity: 1
16
McCabe - Cyclomatic Complexity: 1
17
McCabe - Cyclomatic Complexity: 1

Generated by Squish Coco 4.2.2