Skip to content
SPECIFICTION
Get listed

CodART vs OpenRewrite

CodART

github.com

OpenRewrite

openrewrite.org

Side by side

FigureCodARTOpenRewrite
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
LinuxYesYes
APIYes—
Self-hostedYesYes
Plans published11
Spec score · Code Refactoring Tools8.0 (#8)8.2 (#6)
PurposeCodART is a toolkit for automated refactoring and multi-objective optimization of Java source code.OpenRewrite is an open-source automated refactoring ecosystem for eliminating technical debt in code repositories.
SupportThe repository invites questions by email at [email protected] and welcomes project contributions and discussion comments.The OpenRewrite documentation invites users to ask questions in Slack or Discord and lists [email protected].

Plans

CodART

  • MIT licensed softwareFree

CodART pricing →

OpenRewrite

  • OpenRewrite coreFree

OpenRewrite pricing →

In their own words

CodART

CodART is a toolkit for automated refactoring and multi-objective optimization of Java source code. It documents 47 refactoring operations, including Extract Class, Move Method, and Encapsulate Field, and supports project-level and batch work. Its optimization uses NSGA-II and NSGA-III across eight QMOOD quality metrics. The toolkit also includes PPO-based generation of refactoring sequences and models that predict testability from source code metrics. PMD integration with custom rulesets supports code smell detection, while SciTools Understand handles code parsing and metric computation. The documented interfaces are a React web interface and a FastAPI REST API, and Docker Compose instructions explain how to run the services locally. CodART is free under an MIT License, which permits use, copying, modification, distribution, sublicensing, and sale subject to its conditions. The setup requires a separate SciTools Understand professional license; academic licenses are available for research purposes. The quick-start calls for at least 8 GB RAM and 4 CPU cores, with 12 GB or more recommended for large projects. Java is its listed supported language.

Visit github.com

OpenRewrite

OpenRewrite is an open-source ecosystem for automated code refactoring, aimed at updating code and reducing technical debt. It represents code as Lossless Semantic Trees, applies transformations, and prints the result back into source code for review. Its recipes cover framework migrations, security fixes, and style consistency, and can be written in YAML, Refaster templates, or Java. Maven and Gradle plugins run recipes locally as part of builds, one repository at a time. The Maven plugin offers a dry run that reports potential changes and writes diff files; recipes run only when explicitly activated by name. Documented support includes Java, Kotlin, and Groovy, plus formats such as HCL, JSON, Properties, Protobuf, TOML, XML, and YAML. Framework coverage includes Spring, Quarkus, and Micronaut. The recipe index lists 4,183 recipes across modules. Core and language libraries use Apache License 2.0, but some recipes have other licensing terms. Core is free; some artifacts require authenticated repository access, and some recipes require a Moderne subscription.

Visit openrewrite.org