Find unused variable definitions

Proprietary

Identifies variable assignments whose values are never used before being overwritten.

org.openrewrite.analysis.java.controlflow.FindUnusedDefinitions
mod run . --recipe=org.openrewrite.analysis.java.controlflow.FindUnusedDefinitions

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.