University of Alberta
A Systematic Comparison of Two Refactoring-aware Merging Techniques
Abstract
dc:description.abstractDealing with merge conflicts in version control systems is a challenging task for software developers. Resolving merge conflicts is a time-consuming and error-prone process, which distracts developers from important tasks. Recent work shows that refactorings are often involved in merge conflicts and that refactoring-related conflicts tend to be larger, making them harder to resolve. In the literature, there are two refactoring-aware merging techniques that claim to automatically resolve refactoring-related conflicts, an operationbased refactoring-aware merging approach called MolhadoRef and a graphbased refactoring-aware merging approach called IntelliMerge. However, these two techniques have never been empirically compared. In this thesis, wepresent RefMerge, a Java re-implementation of operation-based refactoringaware merging, but built on Git. In addition to contributing this new design and implementation of refactoring-aware operation-based merging, thisthesis contains the experimental results of comparing RefMerge to Git and IntelliMerge on 2,001 merge scenarios with refactoring-related conflicts from 20 open-source projects. The results show that RefMerge completely resolves143 (7%) merge scenarios while IntelliMerge resolves only 78 (4%). This thesis also presents a qualitative analysis of the differences between the three merging algorithms and provides insights into the strengths and weaknesses ofeach refactoring-aware tool.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Master's
- Grantor
- University of Alberta
- Year dc:date.issued
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ellis, Max
- Advisor dc:contributor.advisor
-
- Nadi, Sarah (Computing Science)
Subjects
dc:subject × 3Rights
dc:rights- Statement dc:rights
-
- This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- DOI dc:identifier.doi
- https://doi.org/10.7939/r3-cdaw-5407