precrec 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
97% lines
covr status: test_error
Expression
96.8%
Tests
96.6%
Examples
not measured
Vignettes
not measured
By file
R/precrec.R
0%
R/etc_utils_autoplot.R
89%
R/etc_create_samples.R
90%
R/etc_utils.R
91%
R/pl5_create_curves.R
93%
R/etc_utils_validate_args.R
93%
R/mm2_join_data.R
95%
R/pl3_calc_auc_with_u.R
95%
R/mm1_create_mmdat.R
96%
R/pl3_create_confmats.R
96%
R/mm4_format_nfold.R
96%
R/etc_utils_plot.R
98%
Structure
- Functions
- 269
- Exported
- 10
- Compiled
- 44
- Call edges
- 376
Functions ranked by lowest coverage
| Function | Language | Lines | Cyclomatic | Coverage |
|---|---|---|---|---|
| .onUnload | R | 3 | 1 | 0.0% |
| auc_ci.default | R | 3 | 1 | 0.0% |
| part.default | R | 3 | 1 | 0.0% |
| .load_ggplot2 | R | 11 | 2 | 12.5% |
| .load_patchwork | R | 14 | 2 | 20.0% |
| .load_grid | R | 7 | 2 | 25.0% |
| .load_gridextra | R | 7 | 2 | 25.0% |
| .check_show_cb | R | 21 | 5 | 50.0% |
| .check_raw_curves | R | 22 | 6 | 52.9% |
| .get_new_naworst | R | 16 | 3 | 66.7% |
| .load_data_table | R | 7 | 2 | 75.0% |
| .combine_plots_grid | R | 20 | 5 | 80.0% |
| .create_src_obj | R | 12 | 4 | 80.0% |
| .validate_curve | R | 30 | 5 | 81.0% |
| .get_obj_arg | R | 11 | 4 | 83.3% |
| create_sim_samples exp | R | 41 | 7 | 84.8% |
| .get_plot_arglist | R | 52 | 14 | 85.7% |
| .get_autoplot_arglist | R | 61 | 16 | 87.5% |
| .get_dataframe_arglist | R | 15 | 4 | 87.5% |
| .get_metric_names | R | 12 | 4 | 87.5% |