Utilize este identificador para referenciar este registo:
http://hdl.handle.net/10071/29544
Autoria: | Teles, A. R. Santos, A. L. |
Editor: | van der Storm, T., and Hirschfeld, R. |
Data: | 2023 |
Título próprio: | Code merging using transformations and member identity |
Título e volume do livro: | Onward! 2023: Proceedings of the 2023 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software |
Paginação: | 71 - 88 |
Título do evento: | 2023 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software |
Referência bibliográfica: | 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 |
Palavras-chave: | Software merging Version control systems Transformations Conflicts Identity |
Resumo: | 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. |
Arbitragem científica: | yes |
Acesso: | Acesso Aberto |
Aparece nas coleções: | ISTAR-CRI - Comunicações a conferências internacionais |
Ficheiros deste registo:
Ficheiro | Tamanho | Formato | |
---|---|---|---|
conferenceobject_98476.pdf | 599,35 kB | Adobe PDF | Ver/Abrir |
Todos os registos no repositório estão protegidos por leis de copyright, com todos os direitos reservados.