More Accurate Recommendations for Method-Level Changes

Dotzler G, Kamp M, Kreutzer P, Philippsen M (2017)


Publication Language: English

Publication Type: Conference contribution, Original article

Publication year: 2017

Publisher: ACM DL

City/Town: New York, NY, USA

Pages Range: 798-808

Conference Proceedings Title: Proceedings of 2017 11th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC/FSE2017)

Event location: Paderborn DE

ISBN: 978-1-4503-5105-8

URI: https://www2.cs.fau.de/publication/download/ESECFSE17.pdf

DOI: 10.1145/3106237.3106276

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.

Authors with CRIS profile

Related research project(s)

How to cite

APA:

Dotzler, G., Kamp, M., Kreutzer, P., & Philippsen, M. (2017). More Accurate Recommendations for Method-Level Changes. In Proceedings of 2017 11th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC/FSE2017) (pp. 798-808). Paderborn, DE: New York, NY, USA: ACM DL.

MLA:

Dotzler, Georg, et al. "More Accurate Recommendations for Method-Level Changes." Proceedings of the 11th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC/FSE2017), Paderborn New York, NY, USA: ACM DL, 2017. 798-808.

BibTeX: Download