Enhanced code reviews using pull request based change impact analysis
The DOI matches its Crossref record; 5 of the 5 references it cites were found in a registry or an index.
Abstract
Context: Code 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. Objective: We aim to enhance the code review process by providing helpful insights to reviewers by analyzing change impact. Method: We 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. Results: From 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. Conclusions: Our 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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Use of relative code churn measures to predict system defect density
Nagappan, N., & Ball, T. (2005) · Proceedings of the 27th international conference on Software engineering - ICSE '05 · doi:10.1145/1062455.1062514 · Cited by 775 · cited 2×
“Code churn is a measure of the amount of code change taking place within a software unit over time (Nagappan and Ball 2005).”
Large language models for software engineering: survey and open problems
Fan, A., Gokkaya, B., Harman, M., Lyubarskiy, M., Sengupta, S., Yoo, S., & Zhang, J. M. (2023) · 2023 IEEE/ACM International Conference on Software Engineering: Future of Software Engineering (ICSE-FoSE) · doi:10.1109/icse-fose59343.2023.00008 · Cited by 650
Large Language Models for Software Engineering: Survey and Open Problems
Fan, A., Gokkaya, B., Harman, M., Lyubarskiy, M., Sengupta, S., Yoo, S., & Zhang, J. M. (2023) · arXiv · doi:10.48550/arxiv.2310.03533 · Cited by 523
Grounded theory in software engineering research: a critical review and guidelines
Stol, K.-J., Ralph, P., & Fitzgerald, B. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884833 · Cited by 470 · cited 1×
“We utilized the open coding phase of grounded theory (Stol et al. 2016).”
Code review quality: how developers see it
Kononenko, O., Baysal, O., & Godfrey, M. W. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884840 · Cited by 183
Research works printed but not linked: 66
- Acharya M, Robinson B (2011) Practical change impact analysis based on static program slicing for industrial software systems. In: 2011 33rd International conference on software engineering (ICSE), pp 746–755. IEEE, Honolulu, HI, USA. https://doi.org/10.1145/1985793.1985898 · doi:10.1145/1985793.1985898
- Alimadadi S, Mesbah A, Pattabiraman K (2015) Hybrid DOM-Sensitive Change Impact Analysis for JavaScript. In: Boyland JT (Ed) 29th European conference on object-oriented programming (ECOOP 2015), Leibniz International Proceedings in Informatics (LIPIcs), vol 37, pp 321–345. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany. https://doi.org/10.4230/LIPIcs.ECOOP.2015.321https://drops-dev.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2015.321 · DOI
- Apiwattanapong T, Orso A, Harrold MJ (2005) Efficient and precise dynamic impact analysis using execute-after sequences. In: Proceedings of the 27th international conference on software engineering, ICSE ’05, p. 432–441. Association for Computing Machinery, New York, NY, USA. https://doi.org/10.1145/1062455.1062534 · doi:10.1145/1062455.1062534
- Asthana S, Kumarx R, Bhagwan R, Bird C, Bansal C, Maddila C, Mehta S, Ashok B (2019) Whodo: Automating reviewer suggestions at scale. In: Proceedings of the 2019 27th ACM joint meeting on european software engineering conference and symposium on the foundations of software engineering, pp 937–945 · DOI
- Balcı F, Haliloğlu DS, Şahin O, Tilki C, Yurtsever MA, Tüzün E (2021) Augmenting code review experience through visualization. In: 2021 Working conference on software visualization (VISSOFT), pp 110–114. IEEE, Luxembourg. https://doi.org/10.1109/VISSOFT52517.2021.00021 · DOI
- Barnett M, Bird C, Brunet J, Lahiri SK (2015) Helping developers help themselves: Automatic decomposition of code review changesets. In: 2015 IEEE/ACM 37th IEEE international conference on software engineering, vol 1, pp 134–144. IEEE, Florence, Italy. https://doi.org/10.1109/ICSE.2015.35 · DOI
- Blischak JD, Davenport ER, Wilson G (2016) A quick introduction to version control with git and github. PLOS Comput Biol 12(1):1–18. https://doi.org/10.1371/journal.pcbi.1004668 · DOI · Paper page
- Bohner S, Arnold R (1996) Software Change Impact Analysis. IEEE Computer Society Press, Los Alamitos, CA, USA
- Brin S, Page L (1998) The anatomy of a large-scale hypertextual web search engine. Comput Netw ISDN Syst 30(1):107–117. https://doi.org/10.1016/S0169-7552(98)00110-Xhttps://www.sciencedirect.com/science/article/pii/S016975529800110X. Proceedings of the Seventh International World Wide Web Conference · DOI · Paper page
- Buckner J, Buchta J, Petrenko M, Rajlich V (2005) Jripples: a tool for program comprehension during incremental change. In: 13th International workshop on program comprehension (IWPC’05), pp 149–152. IEEE, St. Louis, MO, USA. https://doi.org/10.1109/WPC.2005.22 · doi:10.1109/wpc.2005.22
- Cai H, Thain D (2016) Distia: A cost-effective dynamic impact analysis for distributed programs. In: 2016 31st IEEE/ACM international conference on automated software engineering (ASE), pp 344–355. IEEE, Singapore. https://doi.org/10.1145/2970276.2970352 · doi:10.1145/2970276.2970352
- Cai H, Santelices R (2014) Diver: precise dynamic impact analysis using dependence-based trace pruning. In: Proceedings of the 29th ACM/IEEE international conference on automated software engineering, ASE ’14, p. 343–348. Association for Computing Machinery, New York, NY, USA. https://doi.org/10.1145/2642937.2642950 · DOI
- Caldiera VRBG, Rombach HD (1994) The goal question metric approach. Encyclopedia Softw Eng 1:528–532
- Chatley R, Jones L (2018) Diggit: Automated code review via software repository mining. In: 2018 IEEE 25th International conference on software analysis, evolution and reengineering (SANER), pp 567–571. IEEE, Campobasso, Italy. https://doi.org/10.1109/SANER.2018.8330261 · DOI
- Chen L, Abreu R, Akomolede T, Rigby PC, Chandra S, Nagappan N (2022) Leveraging test plan quality to improve code review efficacy. In: Proceedings of the 30th ACM joint european software engineering conference and symposium on the foundations of software engineering, pp 1320–1330 · DOI
- Chen L, Rigby PC, Nagappan N (2022) Understanding why we cannot model how long a code review will take: an industrial case study. In: Proceedings of the 30th ACM joint european software engineering conference and symposium on the foundations of software engineering, pp 1314–1319 · DOI
- Cuoq P, Kirchner F, Kosmatov N, Prevosto V, Signoles J, Yakobowski B (2012) Frama-c. In: Eleftherakis G, Hinchey M, Holcombe M (eds) Software Engineering and Formal Methods. Springer, Berlin Heidelberg, Berlin, Heidelberg, pp 233–247 · DOI · Paper page
- Dai P, Wang Y, Jin D, Gong Y, Yang W (2022) An improving approach to analyzing change impact of c programs. Comput Commun 182:60–71. https://doi.org/10.1016/j.comcom.2021.10.039https://www.sciencedirect.com/science/article/pii/S0140366421004199 · DOI
- Dey T, Mockus A (2020) Effect of technical and social factors on pull request quality for the npm ecosystem. In: Proceedings of the 14th ACM / IEEE international symposium on empirical software engineering and measurement (ESEM), ESEM ’20. Association for Computing Machinery, New York, NY, USA. https://doi.org/10.1145/3382494.3410685 · DOI · Paper page
- Dit B, Wagner M, Wen S, Wang W, Linares-Vásquez M, Poshyvanyk D, Kagdi H (2014) Impactminer: a tool for change impact analysis. In: Companion Proceedings of the 36th international conference on software engineering, ICSE companion 2014, pp 540–543. Association for Computing Machinery, New York, NY, USA.https://doi.org/10.1145/2591062.2591064 · DOI
- Doğan E, Tüzün E (2022) Towards a taxonomy of code review smells. Inf Softw Technol 142(C). https://doi.org/10.1016/j.infsof.2021.106737 · DOI
- Ebert F, Castor F, Novielli N, Serebrenik A (2019) Confusion in code reviews: Reasons, impacts, and coping strategies. In: 2019 IEEE 26th international conference on software analysis, evolution and reengineering (SANER), pp 49–60. IEEE · DOI
- Egelman CD, Murphy-Hill E, Kammer E, Hodges MM, Green C, Jaspan C, Lin J (2020) Predicting developers’ negative feelings about code review. In: Proceedings of the ACM/IEEE 42nd international conference on software engineering, pp 174–185 · DOI
- Fluri B, Wursch M, PInzger M, Gall H (2007) Change distilling:tree differencing for fine-grained source code change extraction. IEEE Trans Softw Eng 33(11):725–743. https://doi.org/10.1109/TSE.2007.70731 · DOI · Paper page
- Follett M, Hoeber O (2010) Impactviz: visualizing class dependencies and the impact of changes in software revisions. In: Proceedings of the 5th international symposium on software visualization, SOFTVIS ’10, pp 209–210. Association for Computing Machinery, New York, NY, USA. https://doi.org/10.1145/1879211.1879244 · doi:10.1145/1879211.1879244
- Forsgren N, Tremblay MC, VanderMeer D, Humble J (2017) Dora platform: Devops assessment and benchmarking. In: Maedche A, vom Brocke J, Hevner A (eds) Designing the Digital Transformation. Springer International Publishing, Cham, pp 436–440 · DOI
- Fowler K (2004) Mission-critical and safety-critical development. IEEE Instru Meas Mag 7(4):52–59. https://doi.org/10.1109/MIM.2004.1383466 · doi:10.1109/mim.2004.1383466
- Gasparini L, Fregnan E, Braz L, Baum T, Bacchelli A (2021) Changeviz: Enhancing the github pull request interface with method call information. In: 2021 Working conference on software visualization (VISSOFT), pp 115–119. IEEE, Luxembourg. https://doi.org/10.1109/VISSOFT52517.2021.00022 · DOI
- Hajari F, Malmir S, Mirsaeedi E, Rigby PC (2024) Factoring expertise, workload, and turnover into code review recommendation. IEEE Trans Softw Eng 50(4):884–899. https://doi.org/10.1109/TSE.2024.3366753 · DOI
- Hanam Q, Mesbah A, Holmes R (2019) Aiding code change understanding with semantic change impact analysis. In: 2019 IEEE international conference on software maintenance and evolution (ICSME), pp. 202–212. IEEE, Cleveland, OH, USA. https://doi.org/10.1109/ICSME.2019.00031 · DOI
- Haney FM (1972) Module connection analysis: a tool for scheduling software debugging activities. In: Proceedings of the December 5-7, 1972, fall joint computer conference, part I, pp 173–179 · doi:10.1145/1479992.1480016
- Hattori L, dos Santos Jr G, Cardoso F, Sampaio M (2008) Mining software repositories for software change impact analysis: a case study. In: Proceedings of the 23rd brazilian symposium on databas,es, SBBD ’08, pp 210–223. Sociedade Brasileira de Computação, BRA
- Hattori L, Guerrero D, Figueiredo J, Brunet J, Damásio J (2008) On the precision and accuracy of impact analysis techniques. In: Seventh IEEE/ACIS international conference on computer and information science (ICIS 2008), pp 513–518. IEEE, Portland, OR, USA. https://doi.org/10.1109/ICIS.2008.104 · doi:10.1109/icis.2008.104
- Hijazi H, Cruz J, Castelhano J, Couceiro R, Castelo-Branco M, de Carvalho P, Madeira H (2021) ireview: an intelligent code review evaluation tool using biofeedback. In: 2021 IEEE 32nd international symposium on software reliability engineering (ISSRE), pp 476–485. IEEE, Wuhan, China. https://doi.org/10.1109/ISSRE52982.2021.00056 · DOI
- Jönsson P, Lindvall M (2005) Impact Analysis, pp 117–142. Springer Berlin Heidelberg, Berlin, Heidelberg. https://doi.org/10.1007/3-540-28244-0_6 · DOI
- Kazemi F, Lamothe M, McIntosh S (2022) Exploring the notion of risk in code reviewer recommendation. In: 2022 IEEE International conference on software maintenance and evolution (ICSME), pp 139–150. https://doi.org/10.1109/ICSME55016.2022.00021 · DOI
- Kontio J, Bragge J, Lehtola L (2008) The Focus Group Method as an Empirical Tool in Software Engineering, pp 93–116. Springer London, London. https://doi.org/10.1007/978-1-84800-044-5_4 · DOI · Paper page
- Kontio J, Bragge J, Lehtola L (2008) The focus group method as an empirical tool in software engineering, pp 93–116. Springer, Heidelberg, Germany. https://doi.org/10.1007/978-1-84800-044-5_4 · DOI · Paper page
- Krueger RA, Casey MA (2014) Focus Groups: A Practical Guide for Applied Research. SAGE Publications, Minnesota, UK
- Krutauz A, Dey T, Rigby PC, Mockus A (2020) Do code review measures explain the incidence of post-release defects?: Case study replications and bayesian networks. Empir Softw Eng 25(5):3323–3356. https://doi.org/10.1007/s10664-020-09837-4 · DOI
- Law J, Rothermel G (2003) Whole program path-based dynamic impact analysis. In: 25th International conference on software engineering, 2003. Proceedings., pp 308–318. https://doi.org/10.1109/ICSE.2003.1201210 · doi:10.1109/icse.2003.1201210
- Legay D, Decan A, Mens T (2018) On the impact of pull request decisions on future contributions. arXiv:1812.06269 · arXiv
- Liu J, Li J, He L (2016) A comparative study of the effects of pull request on github projects. In: 2016 IEEE 40th Annual computer software and applications conference (COMPSAC), vol 1, pp 313–322. IEEE, Atlanta, GA, USA. https://doi.org/10.1109/COMPSAC.2016.27 · DOI
- Lüscher T (2021) Taintimpact: Taint-based change impact analysis. Bachelor thesis, ETH Zurich, Zurich. https://doi.org/10.3929/ethz-b-000488357 · doi:10.3929/ethz-b-000488357
- Mukhtarov Z, Abdul M, Raupova M, Baghirov J, Tanveer O, Altunel H, Tüzün E (2023) Towards better code reviews: Using mutation testing to improve reviewer attention. In: 2023 IEEE/ACM international conference on software and system processes (ICSSP), pp 92–96. https://doi.org/10.1109/ICSSP59042.2023.00020 · doi:10.1109/icssp59042.2023.00020
- Palinkas LA, Horwitz SM, Green CA, Wisdom JP, Duan N, Hoagwood K (2013) Purposeful sampling for qualitative data collection and analysis in mixed method implementation research. Administration and Policy in Mental Health and Mental Health Services Research 42(5):533–544. https://doi.org/10.1007/s10488-013-0528-y · DOI · Paper page
- Ren X, Shah F, Tip F, Ryder BG, Chesley O (2004) Chianti: a tool for change impact analysis of java programs. SIGPLAN Not 39(10):432–448. https://doi.org/10.1145/1035292.1029012 · DOI
- Rezaei J (2015) Best-worst multi-criteria decision-making method. Omega 53:49–57. https://doi.org/10.1016/j.omega.2014.11.009https://www.sciencedirect.com/science/article/pii/S0305048314001480 · DOI · Paper page
- Rungta N, Person S, Branchaud J (2012) A change impact analysis to characterize evolving program behaviors. In: 2012 28th IEEE international conference on software maintenance (ICSM), pp 109–118. IEEE, Trento, Italy. https://doi.org/10.1109/ICSM.2012.6405261 · doi:10.1109/icsm.2012.6405261
- Sadowski C, Söderberg E, Church L, Sipko M, Bacchelli A (2018) Modern code review: a case study at google. In: Proceedings of the 40th international conference on software engineering: software engineering in practice, ICSE-SEIP ’18, pp 181–190. Association for Computing Machinery, New York, NY, USA. https://doi.org/10.1145/3183519.3183525 · DOI · Paper page
- Sharma S, Sodhi B (2019) Using stack overflow content to assist in code review. Softw Pract Exper 49(8):1255–1277. https://doi.org/10.1002/spe.2706https://onlinelibrary.wiley.com/doi/abs/10.1002/spe.2706 · DOI
- Stratton SJ (2021) Population research: convenience sampling strategies. Prehosp Disaster Med 36(4):373–374 · DOI · Paper page
- Sun X, Li B, Tao C, Wen W, Zhang S (2010) Change impact analysis based on a taxonomy of change types. In: 2010 IEEE 34th Annual computer software and applications conference, pp 373–382. https://doi.org/10.1109/COMPSAC.2010.45 · doi:10.1109/compsac.2010.45
- Thongtanunam P, McIntosh S, Hassan AE. Iida H (2015) Investigating code review practices in defective files: An empirical study of the qt system. In: 2015 IEEE/ACM 12th working conference on mining software repositories, pp 168–179. https://doi.org/10.1109/MSR.2015.23 · DOI
- Tuna E, Seaman C, Tüzün E (2024) Do code reviews lead to fewer code smells? J Syst Softw 215:112101. https://doi.org/10.1016/j.jss.2024.112101https://www.sciencedirect.com/science/article/pii/S0164121224001468 · DOI
- Ufuktepe E, Tuglular T (2021) Code change sniffer: Predicting future code changes with markov chain. In: 2021 IEEE 45th annual computers, software, and applications conference (COMPSAC), pp 1014–1019. https://doi.org/10.1109/COMPSAC51774.2021.00137 · doi:10.1109/compsac51774.2021.00137
- Wang T, Roychoudhury A (2004) Using compressed bytecode traces for slicing java programs. In: Proceedings of the 26th international conference on software engineering, ICSE ’04, pp 512–521. IEEE Computer Society, USA
- Weiser MD (1979) Program slices: Formal, psychological, and practical investigations of an automatic program abstraction method. Ph.D. thesis, University of Michigan
- Wen R, Gilbert D, Roche MG, McIntosh S (2018) Blimp tracer: Integrating build impact analysis with code review. In: 2018 IEEE international conference on software maintenance and evolution (ICSME), pp 685–694. IEEE, Madrid, Spain. https://doi.org/10.1109/ICSME.2018.00078 · DOI
- Wohlin C, Runeson P, Höst M, Ohlsson MC, Regnell B, Wesslén A (2012) Planning, pp 89–116. Springer Berlin Heidelberg, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-29044-2_8 · DOI
- Yau S, Collofello J (1980) Some stability measures for software maintenance. IEEE Trans Softw Eng SE–6(6):545–552. https://doi.org/10.1109/TSE.1980.234503 · DOI · Paper page
- Yu Y, Wang H, Yin G, Wang T (2016) Reviewer recommendation for pull-requests in github: What can we learn from code review and bug assignment? Inf Softw Technol 74:204–218. https://doi.org/10.1016/j.infsof.2016.01.004https://www.sciencedirect.com/science/article/pii/S0950584916000069 · DOI · Paper page
- Zhang L, Kim M, Khurshid S (2012) Faulttracer: a change impact and regression fault analysis tool for evolving java programs. In: Proceedings of the ACM SIGSOFT 20th international symposium on the foundations of software engineering, FSE ’12. Association for Computing Machinery, New York, NY, USA. https://doi.org/10.1145/2393596.2393642 · doi:10.1145/2393596.2393642
- Zhang T, Song M, Pinedo J, Kim M (2015) Interactive code review for systematic changes. In: 2015 IEEE/ACM 37th IEEE international conference on software engineering, vol 1, pp 111–122. IEEE, Florence, Italy. https://doi.org/10.1109/ICSE.2015.33 · DOI
- Zimmermann T, Zeller A, Weissgerber P, Diehl S (2005) Mining version histories to guide software changes. IEEE Trans Softw Eng 31(6):429–445. https://doi.org/10.1109/TSE.2005.72 · DOI · Paper page
- Zolkifli NN, Ngah A, Deraman A (2018) Version control system: A review. Proced Comput Sci 135:408–415. https://doi.org/10.1016/j.procs.2018.08.191https://www.sciencedirect.com/science/article/pii/S1877050918314819 · DOI
Cited by
AgenticFlict: A Large-Scale Dataset of Merge Conflicts in AI Coding Agent Pull Requests on GitHub
Ogenrwot, D., & Businge, J. (2026) · Proceedings of the 3rd ACM International Conference on AI-Powered Software · doi:10.1145/3805760.3814923
Metadata
- Authors
- Göçmen, I. S., Cezayir, A. S., & Tüzün, E.
- Venue
- Empirical Software Engineering
- Published
- 2025-02-12
- Volume
- 30
- Issue
- 3
- ISSN
- 1382-3256
- 1573-7616
- Cited by
- 11
- References
- 5
- Language
- en
- Licence
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
- Funders
- ITEA4 (SmartDelta)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.