openaq 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
91.8%
Tests
95.1%
Examples
0.3%
Vignettes
0.0%
By file
R/measurements.R
83%
R/api.R
92%
R/locations.R
95%
R/instruments.R
96%
R/owners.R
97%
R/parameters.R
97%
R/manufacturers.R
97%
R/licenses.R
97%
R/providers.R
97%
R/countries.R
97%
R/latest.R
97%
R/sensors.R
97%
Structure
- Functions
- 82
- Exported
- 36
- Compiled
- 0
- Call edges
- 84
Functions ranked by lowest coverage
| Function | Language | Lines | Cyclomatic | Coverage |
|---|---|---|---|---|
| plot.openaq_locations_data.frame | R | 8 | 2 | 0.0% |
| plot.openaq_locations_list | R | 3 | 1 | 0.0% |
| plot.openaq_measurements_data.frame | R | 11 | 1 | 0.0% |
| plot.openaq_measurements_list | R | 3 | 1 | 0.0% |
| handle_request | R | 15 | 4 | 50.0% |
| list_sensor_measurements exp | R | 86 | 6 | 80.3% |
| validate_coordinates | R | 21 | 10 | 92.3% |
| get_country exp | R | 27 | 3 | 94.1% |
| get_instrument exp | R | 27 | 3 | 94.1% |
| get_license exp | R | 27 | 3 | 94.1% |
| get_location exp | R | 27 | 3 | 94.1% |
| get_manufacturer exp | R | 27 | 3 | 94.1% |
| get_owner exp | R | 27 | 3 | 94.1% |
| get_parameter exp | R | 27 | 3 | 94.1% |
| get_provider exp | R | 27 | 3 | 94.1% |
| get_sensor exp | R | 27 | 3 | 94.1% |
| list_location_sensors exp | R | 27 | 3 | 94.1% |
| list_manufacturer_instruments exp | R | 27 | 3 | 94.1% |
| validate_bbox | R | 29 | 16 | 95.2% |
| list_parameter_latest exp | R | 40 | 3 | 96.2% |