More Accurate Recommendations for Method-Level Changes
Title | More Accurate Recommendations for Method-Level Changes |
Publication Type | Conference Paper |
Year of Publication | 2017 |
Authors | Dotzler, Georg, Kamp, Marius, Kreutzer, Patrick, Philippsen, Michael |
Conference Name | Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-5105-8 |
Keywords | Human Behavior, human factors, program transformation, pubcrawl, recommendation system, recommender systems, Refactoring, resilience, Resiliency, Scalability |
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. 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. |
URL | https://dl.acm.org/citation.cfm?doid=3106237.3106276 |
DOI | 10.1145/3106237.3106276 |
Citation Key | dotzler_more_2017 |