arrow
返回

Enhanced code reviews using pull request based change impact analysis

delete2025-02-12
delete0
delete
OA
AI
İ
İsmail Sergen Göçmen
A
Ahmed Salih Cezayir
E
Eray Tüzün *
DOI:10.1007/s10664-024-10600-2delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
ContextCode reviewing is an essential yet challenging activity due to the potential repercussions associated with changes to the codebase. While version control highlights differences between versions, it may not adequately alert developers to potential side effects of changes. Change impact analysis alongside code differences can guide reviewers in making informed decisions.ObjectiveWe aim to enhance the code review process by providing helpful insights to reviewers by analyzing change impact.MethodWe propose a novel change impact analysis approach with the granularity of pull requests by combining call graph-based dependency analysis and history mining techniques. By utilizing these, we calculate several file metrics and an overall risk score for each pull request. To validate the approach, we conducted two focus group sessions, including a feature feedback survey, a tool demo, a post-demo survey, and focus group discussions. Additionally, we performed experiments on three open-source projects to evaluate the computational feasibility.ResultsFrom the focus groups, our approach received an average of 3.66 out of 5.0 for enhancing the code review experience across five aspects. The current risk score formula averaged 3.2 out of 5.0 for accurately representing change impact, with 71% agreement on the selected metrics. Experiments confirmed computational viability, with analysis times ranging from 7.4 to 22.43 seconds.ConclusionsOur study underscores the potential benefits of integrating change impact analysis into the code review process. By leveraging this approach, developers can conduct more thorough reviews, enhancing their ability to detect and mitigate potential issues arising from code changes.
Keyword:
Change impact analysis
Code review
Call graphs
Static analysis
Pull request
Risk management

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

I
ihsan dogramaci bilkent university
学者数:
3.6K
论文数: 3.6K
被引数: 8
引用论文

引用论文

An Ensemble of Classifiers Approach to Steganalysis
err2010-08-01
err0
PREAI
errSevinc Bayram; Ahmet Emir Dirik; Husrev Taha Sencar; Nasir Memon
err分享
err收藏
Role of RENAL nephrometry scoring system in planning surgical intervention in patients with localized renal masses
err2015-12-01
err0
errOAAI
errMohamed Samir Shaaban; Tamer Mohammed Abou Youssif; Ahmed Mostafa; Hossam Eldin Hegazy; Mohammed Adel Atta
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Mining version histories to guide software changes
err2005-06-01
err469
PREAI
errZimmermann, T; Weissgerber, P; Diehl, S; Zeller, A
err分享
err收藏
Flow Boiling of Ammonia in a Diamond-Made Microchannel Heat Sink for High Heat Flux Hotspots
err2019-09-26
err0
PREAI
errQi Yang; Jianyin Miao; Jingquan Zhao; Yanpei Huang; Weichun Fu; Xiaobin Shen
err分享
err收藏
Modeling of melt electrospinning for semi-crystalline polymers
err2010-01-01
err0
PREAI
errEduard Zhmayev; Daehwan Cho; Yong Lak Joo
err分享
err收藏
Forest Soil Management: A Mexican Experience
err2020-01-01
err0
errOAAI
errHelena Cotler; Leticia Merino; Sergio Martinez-Trinidad
err分享
err收藏
学者 查看更多内容