Average children per span.
(&self)
| 480 | |
| 481 | /// Average children per span. |
| 482 | pub fn avg_children(&self) -> f64 { |
| 483 | if self.vertex_count == 0 { |
| 484 | 0.0 |
| 485 | } else { |
| 486 | self.child_count as f64 / self.vertex_count as f64 |
| 487 | } |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | impl std::fmt::Display for GraphStats { |
nothing calls this directly
no outgoing calls
no test coverage detected