SEAug 25, 2021

Revizor: A Data-Driven Approach to Automate Frequent Code Changes Based on Graph Matching

arXiv:2108.11199v1Has Code
Originality Incremental advance
AI Analysis

This addresses the need for developers to reduce repetitive coding tasks, though it is incremental as it builds on existing IDE plugin frameworks.

The paper tackles the problem of automating frequent code changes by developing Revizor, a tool that builds PyCharm plugins to suggest and apply recurrent change patterns from open-source repositories, with positive usability ratings from experienced developers.

Many code changes that developers make in their projects are repeated and constitute recurrent change patterns. It is of interest to collect such patterns from the version history of open-source repositories and suggest the most useful of them as quick fixes. In this paper, we present Revizor - a tool aimed to build custom plugins for PyCharm, a popular Python IDE. A Revizor-based plugin can take change patterns and highlight potential places for their application in the developer's code editor. If the developer accepts the quick fix, the plugin automatically performs the edit. Our approach uses a graph-based representation of code changes, which allows it to support complex distributed code patterns. Experienced developers have also rated the usability and the performance of such Revizor-based plugin positively. The source code of the tool and test plugin prototype are available on GitHub: https://github.com/JetBrains-Research/revizor. A demonstration video with a short tool description can be found on YouTube: https://youtu.be/5eLs14nco7E.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes