Annotation Support for Generic Patches

Dotzler G, Veldema R, Philippsen M (2012)


Publication Language: English

Publication Type: Conference contribution, Original article

Publication year: 2012

Publisher: IEEE

Edited Volumes: 2012 3rd International Workshop on Recommendation Systems for Software Engineering, RSSE 2012 - Proceedings

Pages Range: 6-10

Conference Proceedings Title: Proceedings of the Third International Workshop on Recommendation Systems for Software Engineering (RSSE 12)

Event location: Zurich, Switzerland CH

ISBN: 978-1-4673-1758-0

URI: http://www2.informatik.uni-erlangen.de/publication/download/DVP12.pdf

DOI: 10.1109/RSSE.2012.6233400

Abstract

In large projects parallelization of existing programs or refactoring of source code is time consuming as well as error-prone and would benefit from tool support. However, existing automatic transformation systems are not extensively used because they either require tedious definitions of source code transformations or they lack general adaptability. In our approach, a programmer changes code inside a project, resulting in before and after source code versions. The difference (the generated transformation) is stored in a database. When presented with some arbitrary code, our tool mines the database to determine which of the generalized transformations possibly apply. Our system is different from a pure compiler based (semantics preserving) approach as we only suggest code modifications. Our contribution is a set of generalizing annotations that we have found by analyzing recurring patterns in open source projects. We show the usability of our system and the annotations by finding matches and applying generated transformations in real-world applications. © 2012 IEEE.

Authors with CRIS profile

Related research project(s)

How to cite

APA:

Dotzler, G., Veldema, R., & Philippsen, M. (2012). Annotation Support for Generic Patches. In Proceedings of the Third International Workshop on Recommendation Systems for Software Engineering (RSSE 12) (pp. 6-10). Zurich, Switzerland, CH: IEEE.

MLA:

Dotzler, Georg, Ronald Veldema, and Michael Philippsen. "Annotation Support for Generic Patches." Proceedings of the International Workshop on Recommendation Systems for Software Engineering, Zurich, Switzerland IEEE, 2012. 6-10.

BibTeX: Download