Skip to main content

dead_code_report

Function dead_code_report 

Source
pub fn dead_code_report(
    engine: &Engine,
    limit: usize,
    include_tests: bool,
) -> Value
Expand description

Functions/methods with no inbound call edges — a candidate list. Excludes HTTP route handlers, test functions (unless include_tests), and main/dunder methods. This is the JSON body asd dead-code --agent prints.