• Home
  • Search
  • Don’t forget to change these functions! recommending co-changed functions in modern code review
  • Cite Icon1
  • https://doi.org/10.1016/j.infsof.2024.107547Copy DOI Icon

Don’t forget to change these functions! recommending co-changed functions in modern code review

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Context:Code review is effective and widely used, yet still time-consuming. Especially, in large-scale software systems, developers may forget to change other related functions that must be changed together (aka. co-changes). This may increase the number of review iterations and reviewing time, thus delaying the code review process. Based on our analysis of 66 projects from five open-source systems, we find that there are 16%–33% of code reviews where at least one function must be co-changed, but was not initially changed. Objectives:This study aims to propose an approach to recommend co-changed functions in the context of modern code review, which could reduce reviewing time and iterations and help developers identify functions that need to be changed together. Methods:We propose CoChangeFinder, a novel method that employs a Graph Neural Network (GNN) to recommend co-changed functions for newly submitted code changes. Then, we conduct a quantitative and qualitative evaluation of CoChangeFinder with 66 studied large-scale open-source software projects. Results:Our evaluation results show that our CoChangeFinder outperforms the state-of-the-art approach, achieving 3.44% to 40.45% for top-k accuracy, 2.00% to 26.07% for Recall@k, and 0.04 to 0.21 for mean average precision better than the baseline approach. In addition, our CoChangeFinder demonstrates the capacity to pinpoint the functions related to logic changes. Conclusion:Our CoChangeFinder outperforms the baseline approach (i.e., TARMAQ) in recommending co-changed functions during the code review process. Based on our findings, CoChangeFinder could help developers save their time and effort, reduce review iterations, and enhance the efficiency of the code review process.

Similar Papers
  • Conference Article
  • Citations48

"Was my contribution fairly reviewed?"

  • May 27, 2018
  • Daniel M German +5
  • Research Article
  • Citations21

Early prediction for merged vs abandoned code changes in modern code reviews

  • Feb 01, 2022
  • Information and Software Technology
  • Khairul Islam +4
  • Conference Article
  • Citations88

Search-Based Peer Reviewers Recommendation in Modern Code Review

  • Oct 01, 2016
  • Ali Ouni +2
  • Conference Article
  • Citations22

Knowledge Transfer in Modern Code Review

  • Jul 13, 2020
  • Maria Caulo +4
  • Conference Article
  • Citations6

Recommending peer reviewers in modern code review

  • Jul 08, 2020
  • Motaz Chouchen +4
  • Research Article
  • Citations177

Automatically Recommending Peer Reviewers in Modern Code Review

  • Jun 01, 2016
  • IEEE Transactions on Software Engineering
  • Motahareh Bahrami Zanjani +2
  • Conference Article
  • Citations52

Investigating code review practices in defective files: an empirical study of the Qt system

  • May 16, 2015
  • Patanamon Thongtanunam +3
  • Conference Article
  • Citations145

Revisiting code ownership and its relationship with software quality in the scope of modern code review

  • May 14, 2016
  • Patanamon Thongtanunam +3
  • Conference Article
  • Citations2

Unveiling multiple facets of design degradation in modern code review

  • Aug 18, 2021
  • Anderson Uchôa
  • Conference Article
  • Citations88

Would static analysis tools help developers with code reviews?

  • Mar 01, 2015
  • Sebastiano Panichella +3
  • Research Article
  • Citations1

ACoRA – A Platform for Automating Code Review Tasks

  • Jan 01, 2025
  • e-Informatica Software Engineering Journal
  • Mirosław Ochodek +1
  • Research Article
  • Citations7

Empirical analysis of security-related code reviews in npm packages

  • May 19, 2023
  • Journal of Systems and Software
  • Mahmoud Alfadel +4
  • Conference Article
  • Citations18

Investigating the Validity of Ground Truth in Code Reviewer Recommendation Studies

  • Sep 01, 2019
  • Emre Dogan +3
  • Research Article
  • Citations5

Advancing modern code review effectiveness through human error mechanisms

  • Apr 15, 2024
  • Journal of Systems and Software
  • Fuqun Huang +1
  • Research Article
  • Citations1

The Factors of Code Reviewing Process to Ensure Software Quality

  • Jul 21, 2021
  • Zenodo (CERN European Organization for Nuclear Research)
  • Shaykh Siddique
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.