phsopendata 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
95% lines
Expression
97.2%
Tests
95.3%
Examples
40.7%
Vignettes
0.0%
By file
R/phs_GET.R
63%
R/error_check.R
67%
R/get_resource_sql.R
78%
R/list_resources.R
97%
R/get_resource.R
100%
R/get_dataset.R
100%
R/parse_row_filters.R
100%
R/get_latest_resource.R
100%
R/request_url.R
100%
R/check_res_id.R
100%
R/use_dump_check.R
100%
R/suggest_dataset_name.R
100%
Structure
- Functions
- 21
- Exported
- 7
- Compiled
- 0
- Call edges
- 24
Functions ranked by lowest coverage
| Function | Language | Lines | Cyclomatic | Coverage |
|---|---|---|---|---|
| phs_GET | R | 50 | 5 | 63.3% |
| error_check | R | 32 | 3 | 66.7% |
| get_resource_sql exp | R | 75 | 7 | 78.3% |
| list_resources exp | R | 147 | 18 | 96.4% |
| get_dataset exp | R | 112 | 6 | 100.0% |
| get_dataset_additional_info exp | R | 37 | 1 | 100.0% |
| get_latest_resource exp | R | 46 | 2 | 100.0% |
| get_resource exp | R | 125 | 11 | 100.0% |
| list_datasets exp | R | 8 | 1 | 100.0% |
| add_context | R | 28 | 4 | 100.0% |
| check_dataset_name | R | 29 | 3 | 100.0% |
| check_res_id | R | 38 | 4 | 100.0% |
| dump_download | R | 17 | 2 | 100.0% |
| get_latest_resource_id | R | 36 | 3 | 100.0% |
| list_resources_query | R | 47 | 1 | 100.0% |
| parse_col_select | R | 21 | 4 | 100.0% |
| parse_error | R | 34 | 3 | 100.0% |
| parse_row_filters | R | 64 | 11 | 100.0% |
| request_url | R | 41 | 3 | 100.0% |
| suggest_dataset_name | R | 35 | 2 | 100.0% |