Skip to content

omock call graph

Each node is a function, tinted by its test coverage so untested, complex code stands out. Shape encodes language, a ring marks exported functions, and dashed edges are calls from R into compiled code. Hover a node for detail; click to focus its neighborhood.

Loading call graph…

Coverage

89% lines

Expression 88.0%
Tests 89.3%
Examples 42.4%
Vignettes 50.8%

By file

R/checks.R 68%
R/mockDatasets.R 77%
R/checkInputs.R 83%
R/mockVocabularySet.R 83%
R/mockProcedureOccurrence.R 88%
R/mockCdmFromTables.R 90%
R/mockConcept.R 92%
R/mockVocabulary.R 92%
R/mockDeath.R 92%
R/mockConditionOccurrence.R 94%
R/mockPerson.R 95%
R/mockVisitOccurrence.R 95%

Structure

Functions
90
Exported
22
Compiled
0
Call edges
140

Functions ranked by lowest coverage

Function Language Lines Cyclomatic Coverage
checkCohort R 3 1 0.0%
checkNumberRecords R 18 4 0.0%
checkVersion R 3 1 0.0%
checkcohort R 8 1 0.0%
correctDateDeath R 19 2 12.5%
question R 14 3 20.0%
checkCdm R 24 5 33.3%
isMockDatasetDownloaded exp R 29 4 42.1%
getLocations R 9 2 50.0%
downloadMockDataset exp R 89 13 50.9%
getProviders R 13 4 55.6%
removeColumn R 10 2 57.1%
mergeTables R 20 6 58.3%
config R 59 6 61.5%
assertNamedList R 14 5 62.5%
mockFolder R 34 4 62.5%
startDateColumn R 7 2 66.7%
attemptDownload R 59 7 69.6%
isDatasetSizeOk R 7 5 75.0%
removeTable R 7 2 75.0%