hedgehog 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
87% lines
Expression
82.2%
Tests
86.8%
Examples
55.5%
Vignettes
83.6%
By file
R/gen.R
71%
R/testthat.R
89%
R/state.R
90%
R/property.R
93%
R/tree.R
99%
R/shrink.R
100%
R/report.R
100%
R/utils.R
100%
Structure
- Functions
- 75
- Exported
- 35
- Compiled
- 0
- Call edges
- 117
Functions ranked by lowest coverage
| Function | Language | Lines | Cyclomatic | Coverage |
|---|---|---|---|---|
| gen.bind exp | R | 3 | 1 | 0.0% |
| gen.choice exp | R | 4 | 1 | 0.0% |
| gen.date exp | R | 3 | 1 | 0.0% |
| gen.example exp | R | 3 | 1 | 0.0% |
| gen.no.shrink exp | R | 6 | 1 | 0.0% |
| gen.recursive exp | R | 11 | 2 | 0.0% |
| gen.sample exp | R | 13 | 2 | 0.0% |
| as.expectation.default | R | 4 | 1 | 0.0% |
| as.expectation.logical | R | 4 | 2 | 0.0% |
| as.expectation.skip | R | 5 | 1 | 0.0% |
| print.action | R | 8 | 2 | 0.0% |
| print.hedgehog.internal.gen | R | 8 | 1 | 0.0% |
| print.hedgehog.internal.symbolic | R | 3 | 1 | 0.0% |
| tree.check | R | 4 | 2 | 50.0% |
| gen.sample.int exp | R | 60 | 4 | 53.8% |
| check.valid | R | 8 | 2 | 75.0% |
| gen.c exp | R | 10 | 5 | 80.0% |
| find.smallest | R | 37 | 5 | 81.3% |
| generate exp | R | 17 | 2 | 91.7% |
| gen.list exp | R | 22 | 6 | 94.1% |