LFX Platform

Know more about LFX Platform

LFX Insights

Automated Code Refactoring Tools

Tools for automatically refactoring and upgrading codebases using AST‐based transformations.

24 projects

29,656 contributors

$4B

Roslyn

Roslyn is the open-source .NET Compiler Platform that provides rich code analysis APIs and compiler services for C# and Visual Basic languages. It includes the compiler infrastructure, source code analysis tools, and APIs for code generation and manipulation.

Contributors

9,947

Organizations

1,633

Software value

$303M

SYCLomatic

SYCLomatic is a tool that assists in migrating CUDA code to SYCL, enabling developers to port CUDA applications to run on diverse hardware platforms. It provides automated source-to-source translation capabilities to help convert CUDA-based applications into SYCL-compliant code.

Contributors

8,619

Organizations

609

Software value

$866M

Rector

Rector is a PHP refactoring and automated code upgrade tool that helps developers modernize legacy code, apply coding standards, and migrate between different PHP versions by automatically modifying source code according to predefined rules and patterns.

Contributors

1,930

Organizations

570

Software value

$8.3M

JavaParser

JavaParser is a Java library that parses Java source code into an Abstract Syntax Tree (AST), allowing programmatic analysis and manipulation of Java code. It enables static code analysis, source code transformation, and generation of Java programs through its API.

Contributors

1,449

Organizations

271

Software value

$9M

Jedi

Jedi is a static analysis tool and autocompletion library for Python that helps developers write code faster by providing intelligent code completion, goto definitions, find references, and other IDE-like features

Contributors

1,295

Organizations

437

Software value

$1.1M

OpenRewrite

OpenRewrite is a large-scale automated source code refactoring tool that enables systematic code changes across codebases. It provides a robust framework for parsing, analyzing, and transforming source code while preserving style and formatting, with particular strength in Java ecosystem modernization and migration.

Contributors

1,027

Organizations

211

Software value

$21M

Sourcery

Sourcery is a code generation tool for Swift that automates the creation of boilerplate code. It scans source files and generates Swift code for repetitive tasks, supporting custom templates and helping reduce manual coding overhead.

Contributors

891

Organizations

183

Software value

$3.1M

jscodeshift

A JavaScript codemod toolkit.

Contributors

683

Organizations

285

Software value

$262K

Phpactor

Mainly a PHP Language Server with more features than you can shake a stick at

Contributors

540

Organizations

157

Software value

$4.7M

Source Map

Source Map is a specification for mapping minified/compiled JavaScript code back to its original source code, enabling better debugging by showing original file locations in developer tools. It defines a JSON format that provides a mapping between the transformed source and the original source, making it possible to debug the original source directly.

Contributors

531

Organizations

220

Software value

$353K

Recast

Recast is a JavaScript source code transformation tool that preserves formatting and comments while allowing programmatic manipulation of abstract syntax trees (ASTs). It enables parsing JavaScript code into an AST, modifying the AST, and reprinting the modified code while maintaining the original code style.

Contributors

522

Organizations

228

Software value

$352K

ast-grep

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

Contributors

453

Organizations

188

Software value

$2.1M

Scalafix

Refactoring and linting tool for Scala

Contributors

422

Organizations

165

Software value

$1.1M

LibCST

LibCST is a concrete syntax tree parser and serializer library for Python that enables parsing source code into a concrete syntax tree (CST) format, analyzing and manipulating the code structure while preserving formatting, comments and whitespace, and converting back to source code.

Contributors

380

Organizations

122

Software value

$3.6M

AST Types

A JavaScript library for programmatically working with abstract syntax trees (ASTs), providing tools for building, traversing, and manipulating AST nodes with runtime type checking and validation

Contributors

294

Organizations

117

Software value

$460K

TYPO3 Rector

Rector for TYPO3

Contributors

215

Organizations

40

Software value

$1.7M

Coccinelle

Source code of the Coccinelle project (mirror of the main Coccinelle repository located at Inria)

Contributors

198

Organizations

77

Software value

$9.3M

RefactoringMiner

RefactoringMiner is a library/API that detects refactoring operations applied between two versions of a Java project. It can detect various refactoring types like extract/inline method, move/rename class, extract interface/superclass, and more by analyzing source code changes in Git repositories.

Contributors

142

Organizations

29

Software value

$2.8B

Putout

🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏

Contributors

118

Organizations

37

Software value

$6M

Magic String

Manipulate strings like a wizard

This project hasn't been onboarded to LFX Insights.

Rector Laravel

Rector upgrades rules for Laravel

This project hasn't been onboarded to LFX Insights.

TypeStat

Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫

This project hasn't been onboarded to LFX Insights.

ts-morph

TypeScript Compiler API wrapper for static analysis and programmatic code changes.

This project hasn't been onboarded to LFX Insights.
Looking for a project that’s not listed?