• Stars
    star
    1,679
  • Rank 26,703 (Top 0.6 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automated mass refactoring of source code.

OpenRewrite

🎉 Automate software refactoring 🎉


OpenRewrite

ci Apache 2.0 Maven Central Revved up by Gradle Enterprise Contributing Guide

More tech. Less debt.

The OpenRewrite project is a mass source code refactoring ecosystem. Reduce 1000s of hours of static code analysis fixes to minutes. Turn a four month migration project into four hours of work. Patch security vulnerabilities across 100s of repositories at once. OpenRewrite automates code refactoring and remediation tasks for you, enabling developers to deliver more business.

Start with our quickstart guide and let OpenRewrite start handling the boring parts of software development for you. Full documentation available at docs.openrewrite.org.

Feel free to join us on Slack or Discord! We're happy to answer your questions directly. Also, follow us on Twitter and LinkedIn.

See this doc page for more on building this repository from source.

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.

More Repositories

1

rewrite-spring

OpenRewrite recipes for Spring projects.
Java
224
star
2

rewrite-maven-plugin

OpenRewrite's Maven plugin.
Java
102
star
3

rewrite-migrate-java

OpenRewrite recipes for migrating to newer versions of Java.
Java
81
star
4

rewrite-testing-frameworks

OpenRewrite recipes that perform common Java testing migration tasks.
Java
58
star
5

rewrite-gradle-plugin

OpenRewrite's Gradle plugin.
Java
52
star
6

rewrite-docs

Stores the markdown documents used to generate docs.openrewrite.org
36
star
7

rewrite-kotlin

Work-in-progress implementation of Kotlin language support for OpenRewrite.
Java
33
star
8

rewrite-logging-frameworks

OpenRewrite recipes for assisting with Java logging migration tasks.
Java
24
star
9

rewrite-static-analysis

OpenRewrite recipes for identifying and fixing static analysis issues.
Java
19
star
10

rewrite-java-security

OpenRewrite recipes for patching Java security vulnerabilities.
Java
15
star
11

rewrite-templating

Automated templating using code snippets.
Java
14
star
12

rewrite-micronaut

OpenRewrite recipes for Micronaut.
Java
13
star
13

rewrite-terraform

OpenRewrite recipes for Terraform.
Java
12
star
14

rewrite-python

OpenRewrite recipes for Python.
Java
9
star
15

rewrite-github-actions

OpenRewrite recipes for performing GitHub action hygiene and migration tasks.
Java
9
star
16

rewrite-kubernetes

OpenRewrite recipes for Kubernetes.
Java
8
star
17

rewrite-javascript

OpenRewrite recipes for JavaScript projects.
JavaScript
8
star
18

rewrite-java-dependencies

OpenRewrite recipes for managing Java dependencies.
Java
7
star
19

rewrite-quarkus

OpenRewrite recipes for Quarkus.
Java
7
star
20

rewrite-analysis

OpenRewrite recipes for data flow analysis.
Java
7
star
21

rewrite-generative-ai

OpenRewrite recipes using generative AI.
Java
7
star
22

rewrite-jenkins

OpenRewrite recipes to continuously modernize Jenkins plugins.
Java
6
star
23

rewrite-jhipster

OpenRewrite recipes for JHipster web applications.
Java
6
star
24

rewrite-checkstyle

Eliminate Checkstyle issues. Automatically.
Java
5
star
25

rewrite-sql

OpenRewrite recipes for SQL.
Java
5
star
26

rewrite-build-gradle-plugin

Common build logic for building OpenRewrite and recipe jars.
Java
4
star
27

rewrite-recipe-bom

Align version numbers for all OpenRewrite maintained recipe modules
4
star
28

rewrite-java-8

Java 8 parser for the Rewrite Java language binding.
Java
4
star
29

rewrite-all

Gathers recipes which depend on recipes from many other OpenRewrite-maintained recipe modules
Java
4
star
30

rewrite-circleci

OpenRewrite recipes for CircleCI.
Java
3
star
31

rewrite-gradle-tooling-model

A model for extracting semantic information out of Gradle build files necessary for refactoring them.
Java
3
star
32

rewrite-gradle

Migrate Gradle. Automatically.
Kotlin
2
star
33

rewrite-template-generator

Generates parser stubs for usage with JavaTemplate.
Java
2
star
34

rewrite-okhttp

OpenRewrite recipes for OkHttp.
Java
2
star
35

rewrite-testcontainers

OpenRewrite recipes for testing containers.
Kotlin
2
star
36

rewrite-concourse

OpenRewrite recipes for Concourse.
Java
2
star
37

rewrite-recipe-markdown-generator

Utility that generates OpenRewrite recipe documentation in markdown format for all recipes on the classpath.
Kotlin
2
star
38

rewrite-cloud-suitability-analyzer

OpenRewrite recipes that find similar patterns as https://github.com/vmware-tanzu/cloud-suitability-analyzer, but with type awareness.
Java
2
star
39

rewrite-hibernate

OpenRewrite recipes for Hibernate ORM.
Java
2
star
40

rewrite-launchdarkly

OpenRewrite recipes for LaunchDarkly.
Java
2
star
41

rewrite-houston-jug

Content for Houston Java User Group on July 27
Java
1
star
42

rewrite-java-annotproc

Run Rewrite recipes as an annotation processor.
Java
1
star
43

rewrite-roadmap

1
star
44

rewrite-sandbox

Java
1
star
45

gh-automation

Shared GitHub Actions workflows which are used by multiple repositories under the OpenRewrite GitHub organization.
1
star
46

collaboration-proposals

Propose OpenRewrite collaborations to for instance cover additional libraries and frameworks
1
star
47

rewrite-recommendations

A collection of recommended OpenRewrite recipes.
1
star
48

rules_rewrite

Bazel rules for OpenRewrite. Experimental. Don't try to use these yet unless you're helping to develop them.
1
star
49

rewrite-cobol

COBOL support for OpenRewrite. Open source but not free for commercial use.
COBOL
1
star
50

rewrite-ruby

Ruby language implementation
Java
1
star
51

rewrite-cucumber-jvm

OpenRewrite recipes for CucumberJVM.
Java
1
star