Find if/else with identical branches
ProprietaryDetect if/else statements where both branches contain identical code. This is likely a copy-paste bug.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindIfElseBranchesIdenticalmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindIfElseBranchesIdenticalInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.