Skip to content

openrewrite/rewrite-analysis

Repository files navigation

OpenRewrite Analysis

🎉 Automate software refactoring 🎉


OpenRewrite

ci Apache 2.0 Maven Central Revved up by Develocity

What is this?

This project contains a series of utility functions and visitors to perform complex analysis of source code.

For example:

  • Data flow analysis
  • Control Flow Analysis
  • Fluent AST navigation with an trait-based API similar to CodeQL.

How to use?

See the full documentation at docs.openrewrite.org.

Refactoring at scale with Moderne

OpenRewrite's refactoring engine and recipes will always be open source. Build tool plugins like OpenRewrite Gradle Plugin and OpenRewrite Maven Plugin help you run these recipes on one repository at a time. Moderne is a complementary product that executes OpenRewrite recipes at scale on hundreds of millions of lines of code and enables mass committing of results. Moderne freely runs a public service for the benefit of thousands of open source projects.

Moderne

Contributing

We appreciate all types of contributions. See the contributing guide for detailed instructions on how to get started.