More Accurate Recommendations for Method-Level Changes

Georg Dotzler, Marius Kamp, Patrick Kreutzer, Michael Philippsen
8/10/2017
cs.SE

Official code: FAU-Inf2/ARES (2 stars, Java, Apache-2.0, last commit 2019-11-12).

Abstract

During the life span of large software projects, developers often apply the same code changes to different code locations in slight variations. Since the application of these changes to all locations is time-consuming and error-prone, tools exist that learn change patterns from input examples, search for possible pattern applications, and generate corresponding recommendations.

Show full abstract

In many cases, the generated recommendations are syntactically or semantically wrong due to code movements in the input examples. Thus, they are of low accuracy and developers cannot directly copy them into their projects without adjustments. We present the Accurate REcommendation System (ARES) that achieves a higher accuracy than other tools because its algorithms take care of code movements when creating patterns and recommendations. On average, the recommendations by ARES have an accuracy of 96% with respect to code changes that developers have manually performed in commits of source code archives. At the same time ARES achieves precision and recall values that are on par with other tools.

View on arXivView PDF

Code Implementations(1)

FAU-Inf2/ARESOfficial100%
Apache-2.0
23Java, ShellMay 3, 20177 years agoApache-2.0

Similar Papers

Cite this paper

@article{dotzler2017more,
  title  = {More Accurate Recommendations for Method-Level Changes},
  author = {Georg Dotzler and Marius Kamp and Patrick Kreutzer and Michael Philippsen},
  year   = {2017},
  eprint = {1708.03178},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1708.03178}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1708.03178.svg)](https://codeofpaper.com/paper/1708.03178)

Discussion