Skip to content

CBPS 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

18% lines

Expression 18.6%
Tests 18.0%
Examples 33.0%
Vignettes 0.2%

By file

R/CBPSMultiTreat.r 0%
R/CBIV.R 0%
R/hdCBPS.R 0%
R/CBPSContinuous.r 0%
R/npCBPS.R 0%
R/CBPSOptimalBinary.R 0%
R/AsyVar.R 0%
R/analytic_vcov.R 0%
R/CBPSMain.R 25%
R/CBMSM.R 62%
R/CBPSBinary.R 94%
R/onAttach.R 100%

Structure

Functions
32
Exported
9
Compiled
0
Call edges
16

Functions ranked by lowest coverage

Function Language Lines Cyclomatic Coverage
AsyVar exp R 180 26 0.0%
CBIV exp R 464 19 0.0%
balance exp R 4 1 0.0%
hdCBPS exp R 37 5 0.0%
npCBPS exp R 39 5 0.0%
vcov_outcome exp R 4 1 0.0%
CBPS.3Treat R 324 9 0.0%
CBPS.4Treat R 405 12 0.0%
CBPS.Continuous R 304 12 0.0%
CBPSOptimal.2Treat R 188 13 0.0%
balance.CBMSM R 45 5 0.0%
balance.CBPS R 29 3 0.0%
balance.CBPSContinuous R 36 4 0.0%
balance.npCBPS R 5 2 0.0%
hdCBPS.fit R 389 31 0.0%
npCBPS.fit R 213 10 0.0%
plot.CBMSM R 46 7 0.0%
plot.CBPS R 89 11 0.0%
plot.CBPSContinuous R 25 4 0.0%
plot.npCBPS R 7 3 0.0%