Skip to content

spatsoc 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

99% lines

Expression 99.3%
Tests 99.4%
Examples 70.9%
Vignettes 23.0%

By file

R/group_polys.R 96%
R/group_pts.R 98%
R/group_lines.R 99%
R/edge_dist.R 99%
R/internal.R 100%
R/group_times.R 100%
R/edge_nn.R 100%
R/edge_direction.R 100%
R/direction_to_leader.R 100%
R/randomizations.R 100%
R/leader_direction_group.R 100%
R/distance_to_leader.R 100%

Structure

Functions
48
Exported
29
Compiled
0
Call edges
158

Functions ranked by lowest coverage

Function Language Lines Cyclomatic Coverage
group_polys exp R 247 28 95.7%
group_pts exp R 134 17 97.8%
group_lines exp R 179 28 98.5%
edge_dist exp R 209 22 99.4%
build_lines exp R 55 4 100.0%
build_polys exp R 115 17 100.0%
centroid_dyad exp R 20 1 100.0%
centroid_fusion exp R 20 1 100.0%
centroid_group exp R 71 7 100.0%
direction_group exp R 31 2 100.0%
direction_polarization exp R 27 2 100.0%
direction_step exp R 83 8 100.0%
direction_to_centroid exp R 91 7 100.0%
direction_to_leader exp R 140 9 100.0%
distance_to_centroid exp R 108 10 100.0%
distance_to_leader exp R 130 10 100.0%
dyad_id exp R 29 2 100.0%
edge_alignment exp R 76 4 100.0%
edge_delay exp R 85 1 100.0%
edge_direction exp R 161 11 100.0%