Expand description
Pure in-degree centrality over Calls edges — shared by tour.rs (which
uses it to rank entry points) and find_god_nodes (which surfaces it
directly as named hub detection, GitCortex’s no-LLM answer to what other
tools call “god object” / “god node” detection).
No clustering here — see clustering.rs for label-propagation community
detection, which is a separate, coarser-grained signal.
Structs§
Functions§
- find_
god_ nodes - Find high-fan-in “hub” symbols — functions/methods many other symbols
call into. Deterministic: ranked by in-degree descending, ties broken by
qualified_nameascending, so re-running on the same indexed state always produces byte-identical output. - in_
degree_ by_ calls - Count inbound
Callsedges per destination node id. Shared bygitcortex-mcp(centrality/clustering/tour) andgitcortex-vizso both surfaces always use the same algorithm and cannot drift.