What happens in my code reviews? An investigation on automatically classifying review changes

Author:

Fregnan EnricoORCID,Petrulio Fernando,Di Geronimo Linda,Bacchelli Alberto

Abstract

AbstractCode reviewing is a widespread practice used by software engineers to maintain high code quality. To date, the knowledge on the effect of code review on source code is still limited. Some studies have addressed this problem by classifying the types of changes that take place during the review process (a.k.a. review changes), as this strategy can, for example, pinpoint the immediate effect of reviews on code. Nevertheless, this classification (1) is not scalable, as it was conducted manually, and (2) was not assessed in terms of how meaningful the provided information is for practitioners. This paper aims at addressing these limitations: First, we investigate to what extent a machine learning-based technique can automatically classify review changes. Then, we evaluate the relevance of information on review change types and its potential usefulness, by conducting (1) semi-structured interviews with 12 developers and (2) a qualitative study with 17 developers, who are asked to assess reports on the review changes of their project. Key results of the study show that not only it is possible to automatically classify code review changes, but this information is also perceived by practitioners as valuable to improve the code review process. Data and materials: 10.5281/zenodo.5592254

Publisher

Springer Science and Business Media LLC

Subject

Software

Reference98 articles.

1. Crucible official website (2019) https://www.atlassian.com/software/crucible

2. Gerrit Code Review (2019) https://www.gerritcodereview.com

3. GitHub official website (2019) https://github.com

4. About qt (2019) https://wiki.qt.io/About_Qt

5. Abelein U, Paech B (2015) Understanding the influence of user participation and involvement on system success–a systematic mapping study. Empir Softw Eng 20(1):28–81

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Towards Automated Classification of Code Review Feedback to Support Analytics;2023 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM);2023-10-26

2. How social interactions can affect Modern Code Review;Frontiers in Computer Science;2023-05-11

3. Code Review of Build System Specifications: Prevalence, Purposes, Patterns, and Perceptions;2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE);2023-05

4. Towards Improving Code Review Effectiveness Through Task Automation;Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering;2022-10-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3