openrewrite / rewrite-analysis

OpenRewrite recipes for data flow analysis.
Apache License 2.0
8 stars 8 forks source link
control-flow control-flow-graph dataflow openrewrite openrewrite-recipes refactoring

OpenRewrite Analysis

πŸŽ‰ Automate software refactoring πŸŽ‰


OpenRewrite

[![ci](https://github.com/openrewrite/rewrite-analysis/actions/workflows/ci.yml/badge.svg)](https://github.com/openrewrite/rewrite-analysis/actions/workflows/ci.yml) [![Apache 2.0](https://img.shields.io/github/license/openrewrite/rewrite.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://img.shields.io/maven-central/v/org.openrewrite.meta/rewrite-analysis.svg)](https://mvnrepository.com/artifact/org.openrewrite.meta/rewrite-analysis) [![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.openrewrite.org/scans)

What is this?

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

For example:

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.