Expand description
Whole-program cross-reference analysis for Erlang projects.
This is the consumer-facing façade. Build an Xref with
XrefBuilder, then run predefined analyses (dead-export
detection, behaviour conformance, cycle detection).
The test-suite-selection adapter suites consumes the graph to
answer “which _SUITE modules should I run for this diff?”.
Re-exports§
pub use builder::XrefBuilder;pub use errors::XrefError;pub use result::AnalysisResult;pub use result::AppDependencies;pub use result::CalleeEntry;pub use result::CalleesOf;pub use result::CallerEntry;pub use result::CallersOf;pub use result::DeprecatedCall;pub use result::DeprecatedFunctionCalls;pub use result::ExportsNotUsed;pub use result::LocalsNotUsed;pub use result::ModuleCallers;pub use result::ModuleDependencies;pub use result::NonConformance;pub use result::UndefinedFunctionCall;pub use result::UndefinedFunctionCalls;pub use result::UnresolvedCalls;pub use result::UnusedExport;pub use result::UnusedLocal;pub use suites::SuiteRef;pub use suites::is_suite_module;pub use suites::suites_referencing;pub use suites::suites_referencing_mfas;pub use xref::Xref;
Modules§
- analysis
- Predefined analyses.
- builder
XrefBuilder: collects modules and produces anXref.- display
- Human-readable formatting for the typed result structs in
result. - errors
- result
- Typed result data for each predefined analysis.
- suites
- Test-suite-selection adapter.
- xref
Xref<M>: the queryable façade over a builtCallGraph.
Structs§
- Call
Graph - Deprecation
- Function
Sig - Functions
- Loc
- Module
Data - Modules
- Position
- Project
Layout - Maps file paths under a repository root to application names.
- Read
Output - Relation
- Source
Reader - Vertex
Set