MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / total_vertices

Method total_vertices

atomic-core/src/output/alive/order.rs:317–319  ·  view source on GitHub ↗

Get the total number of vertices across all SCCs.

(&self)

Source from the content-addressed store, hash-verified

315
316 /// Get the total number of vertices across all SCCs.
317 pub fn total_vertices(&self) -> usize {
318 self.sccs.iter().map(|scc| scc.len()).sum()
319 }
320
321 /// Get the number of SCCs.
322 pub fn num_sccs(&self) -> usize {

Callers

nothing calls this directly

Calls 2

iterMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected