Skip to main content

Crate basta

Crate basta 

Source
Expand description

basta — dead code detection.

Modules§

analyze
The run: walk, analyze, resolve, report.
classify
Turning a resolved graph into the findings a reader acts on.
cli
The basta command line.
confidence
How sure basta is that a finding is really dead.
config
Run configuration: what to scan, what to report, how strict to be.
entry
Where the program starts.
finding
What a run reports.
framework
Frameworks: the programs that start a project’s files without importing them.
graph
The whole-project view: which module every specifier names, which declaration every reference reaches, and what is left over.
lang
Language plug-ins.
model
The data model shared by every language analyzer and by the graph.
resolve
The index every resolver answers against, and the path arithmetic they share.
run
Detection plus reporting, as one call.
rustc
Rust dead code, read from the compiler.
section
The dead-code section of a jscpd config file.