Understanding the Impact of Branch Edit Features for the Automatic Prediction of Merge Conflict Resolutions.
| dc.contributor.author | Aldndni, Waad | |
| dc.contributor.author | Servant-Cortés, Francisco Javier | |
| dc.contributor.author | Meng, Na | |
| dc.date.accessioned | 2024-12-10T09:39:36Z | |
| dc.date.available | 2024-12-10T09:39:36Z | |
| dc.date.issued | 2024 | |
| dc.departamento | Instituto de Tecnología e Ingeniería del Software de la Universidad de Málaga | |
| dc.description.abstract | Developers regularly have to resolve merge conflicts, i.e., two conflicting sets of changes to the same files in different branches, which can be tedious and error-prone. To resolve conflicts, developers typically: keep the local version (KL) or the remote version (KR) of the code. They also sometimes manually edit both versions into a single one (ME). However, most existing techniques only support merging the local and remote versions (the ME strategy). We recently proposed RPRedictor, a machine learning-based approach to support developers in choosing how to resolve a conflict (by KL, KR, or ME), by predicting their resolution strategy. In its original design, RPRedictor uses a set of Evolution History Features ( s) that capture: the magnitude of the changes in conflict, their evolution, and the experience of the developers involved. In this paper, we proposed and evaluated a new set of Branch Edit Features ( s), that capture the fine-grained edits that were performed on each branch of the conflict. We learned multiple lessons. First, s provided lower effectiveness (F-score) than the original s. Second, combining s with s still did not improve the effectiveness of s, it provided the same f-score. Third, the feature set that provided highest effectiveness in our experiments was the combination of with a subset of s that captures the number of insertions performed in the local branch, but this combination only improved s by 3 pp. f-score. Finally, our experiments also share the lesson that some feature sets provided higher C-score (i.e., the safety of the technique’s mistakes) as a trade-off for lower f-scores. This may be valued by developers and we believe that it should be studied in the future. | es_ES |
| dc.description.sponsorship | NSF CCF-1845446, NSF CCF-2046403, URJC C01INVESDIST, Saudi Arabian Cultural Mission (SACM), MCIN/AEI/10.13039/501100011033/FEDER,UE PID2022-142964OA-I00 | es_ES |
| dc.identifier.citation | Waad Aldndni, Francisco Servant, and Na Meng. 2024. Understanding the Impact of Branch Edit Features for the Automatic Prediction of Merge Conflict Resolutions. In Proceedings of the 32nd IEEE/ACM International Conference on Program Comprehension (ICPC '24). Association for Computing Machinery, New York, NY, USA, 149–160. DOI: https://doi.org/10.1145/3643916.3644433 | es_ES |
| dc.identifier.uri | https://hdl.handle.net/10630/35533 | |
| dc.language.iso | eng | es_ES |
| dc.publisher | ACM | es_ES |
| dc.relation.eventdate | Abril 2024 | es_ES |
| dc.relation.eventplace | Lisboa, Portugal | es_ES |
| dc.relation.eventtitle | International Conference on Program Comprehension (ICPC) | es_ES |
| dc.rights | Attribution-NonCommercial-ShareAlike 4.0 Internacional | * |
| dc.rights.accessRights | open access | es_ES |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc-sa/4.0/ | * |
| dc.subject | Software - Diseño | es_ES |
| dc.subject.other | Merge conflicts | es_ES |
| dc.subject.other | Machine learning | es_ES |
| dc.title | Understanding the Impact of Branch Edit Features for the Automatic Prediction of Merge Conflict Resolutions. | es_ES |
| dc.type | conference output | es_ES |
| dspace.entity.type | Publication | |
| relation.isAuthorOfPublication | b5f2808e-94a0-4ab9-ba6e-9e121af1dd03 | |
| relation.isAuthorOfPublication.latestForDiscovery | b5f2808e-94a0-4ab9-ba6e-9e121af1dd03 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- 2024-ICPC-4-published.pdf
- Size:
- 334.33 KB
- Format:
- Adobe Portable Document Format
- Description:

