Please use this identifier to cite or link to this item: http://hdl.handle.net/10071/29544
Author(s): Teles, A. R.
Santos, A. L.
Editor: van der Storm, T., and Hirschfeld, R.
Date: 2023
Title: Code merging using transformations and member identity
Book title/volume: Onward! 2023: Proceedings of the 2023 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software
Pages: 71 - 88
Event title: 2023 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software
Reference: Teles, A. R., & Santos, A. L. (2023). Code merging using transformations and member identity. In T. van der Storm, & R. Hirschfeld (Chairs), Onward! 2023: Proceedings of the 2023 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (pp. 71-88). Association for Computing Machinery. https://doi.org/10.1145/3622758.3622891
ISBN: 979-8-4007-0388-1
DOI (Digital Object Identifier): 10.1145/3622758.3622891
Keywords: Software merging
Version control systems
Transformations
Conflicts
Identity
Abstract: Conventionally, merging code files is performed using generic line-based merging algorithms (e.g., diff3) that are unaware of the syntax and semantics of the programming language, outputting conflicts that could be avoided. Structured and semistructured merging techniques are capable of reducing conflicts, but they still suffer from false positives (conflicts that could be avoided) and false negatives (conflicts that go undetected). We propose a merging technique that combines semistructured and transformation-based strategies, where conflict detection is aware of semantic aspects of the programming language. We extract transformations of two branches and apply a merging process that analyzes incompatible transformations, avoiding false positives and false negatives that occur in existing approaches. We developed Jaid, a prototype merging tool for Java based on the assumption that structural code elements evolve with attached UUIDs (representing identity). We performed an early experiment with 63 merge scenarios from two open-source projects to test the technique and assess its feasibility.
Peerreviewed: yes
Access type: Open Access
Appears in Collections:ISTAR-CRI - Comunicações a conferências internacionais

Files in This Item:
File SizeFormat 
conferenceobject_98476.pdf599,35 kBAdobe PDFView/Open


FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpaceOrkut
Formato BibTex mendeley Endnote Logotipo do DeGóis Logotipo do Orcid 

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.