Skip to main content
Erschienen in: Empirical Software Engineering 2/2024

01.03.2024

Studying the impact of risk assessment analytics on risk awareness and code review performance

verfasst von: Xueyao Yu, Filipe R. Cogo, Shane McIntosh, Michael W. Godfrey

Erschienen in: Empirical Software Engineering | Ausgabe 2/2024

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

While code review is a critical component of modern software quality assurance, defects can still slip through the review process undetected. Previous research suggests that the main reason for this is a lack of reviewer awareness about the likelihood of defects in proposed changes; even experienced developers may struggle to evaluate the potential risks. If a change’s riskiness is underestimated, it may not receive adequate attention during review, potentially leading to defects being introduced into the codebase. In this paper, we investigate how risk assessment analytics can influence the level of awareness among developers regarding the potential risks associated with code changes; we also study how effective and efficient reviewers are at detecting defects during code review with the use of such analytics. We conduct a controlled experiment using Gherald, a risk assessment prototype tool that analyzes the riskiness of change sets based on historical data. Following a between-subjects experimental design, we assign participants to the treatment (i.e., with access to Gherald) or control group. All participants are asked to perform risk assessment and code review tasks. Through our experiment with 48 participants, we find that the use of Gherald is associated with statistically significant improvements (one-tailed, unpaired Mann-Whitney U test, \(\alpha \) = 0.05) in developer awareness of riskiness of code changes and code review effectiveness. Moreover, participants in the treatment group tend to identify the known defects more quickly than those in the control group; however, the difference between the two groups is not statistically significant. Our results lead us to conclude that the adoption of a risk assessment tool has a positive impact on code review practices, which provides valuable insights for practitioners seeking to enhance their code review process and highlights the importance for further research to explore more effective and practical risk assessment approaches.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Fußnoten
Literatur
Zurück zum Zitat Ackerman AF, Fowler PJ, Ebenau RG (1984) In: Proc. of a symposium on software validation: inspection-testing-verification-alternatives (Elsevier North-Holland, Inc., USA), p. 13–40 Ackerman AF, Fowler PJ, Ebenau RG (1984) In: Proc. of a symposium on software validation: inspection-testing-verification-alternatives (Elsevier North-Holland, Inc., USA), p. 13–40
Zurück zum Zitat Ball T, Bounimova E, Cook B, Levin V, Lichtenberg J, McGarvey C, Ondrusek B, Rajamani SK, Ustuner A In: Proceedings of the 1st ACM SIGOPS/EuroSys European conference on computer systems 2006 (Association for Computing Machinery, New York, USA, 2006), EuroSys ’06, pp 73-85. https://doi.org/10.1145/1217935.1217943 Ball T, Bounimova E, Cook B, Levin V, Lichtenberg J, McGarvey C, Ondrusek B, Rajamani SK, Ustuner A In: Proceedings of the 1st ACM SIGOPS/EuroSys European conference on computer systems 2006 (Association for Computing Machinery, New York, USA, 2006), EuroSys ’06, pp 73-85. https://​doi.​org/​10.​1145/​1217935.​1217943
Zurück zum Zitat Baum T, Liskin O, Niklas K, Schneider K (2016) In: Proceedings of the 2016 24th ACM SIGSOFT international symposium on foundations of software engineering (Association for Computing Machinery, New York, USA, 2016), FSE 2016, pp 85–96 Baum T, Liskin O, Niklas K, Schneider K (2016) In: Proceedings of the 2016 24th ACM SIGSOFT international symposium on foundations of software engineering (Association for Computing Machinery, New York, USA, 2016), FSE 2016, pp 85–96
Zurück zum Zitat Beller M, Bholanath R, McIntosh S, Zaidman A (2016) In: Proc. of the international conference on software analysis, evolution, and reengineering (SANER), pp 470–481 Beller M, Bholanath R, McIntosh S, Zaidman A (2016) In: Proc. of the international conference on software analysis, evolution, and reengineering (SANER), pp 470–481
Zurück zum Zitat Bosu A, Greiler M, Bird C (2015) In: Proceedings of the 12th working conference on mining software repositories (IEEE Press), MSR ’15, pp 146–156 Bosu A, Greiler M, Bird C (2015) In: Proceedings of the 12th working conference on mining software repositories (IEEE Press), MSR ’15, pp 146–156
Zurück zum Zitat Fregnan E (2023) Assessing review outcomes and cognitive factors to improve code review. Ph.D. thesis Fregnan E (2023) Assessing review outcomes and cognitive factors to improve code review. Ph.D. thesis
Zurück zum Zitat Fregnan E, Braz L, D’Ambros M, Çalıklı G, Bacchelli A (2022) In: Proceedings of the 30th ACM joint European software engineering conference and symposium on the foundations of software engineering (Association for Computing Machinery, New York, USA), ESEC/FSE 2022, pp 483-494. https://doi.org/10.1145/3540250.3549177 Fregnan E, Braz L, D’Ambros M, Çalıklı G, Bacchelli A (2022) In: Proceedings of the 30th ACM joint European software engineering conference and symposium on the foundations of software engineering (Association for Computing Machinery, New York, USA), ESEC/FSE 2022, pp 483-494. https://​doi.​org/​10.​1145/​3540250.​3549177
Zurück zum Zitat Hampton J (2018) In: Laboratory Psychology (Psychology Press), pp 15–37 Hampton J (2018) In: Laboratory Psychology (Psychology Press), pp 15–37
Zurück zum Zitat Kendall MG (1948) Rank correlation methods (Griffin) Kendall MG (1948) Rank correlation methods (Griffin)
Zurück zum Zitat Khanan C, Luewichana W, Pruktharathikoon K, Jiarpakdee J, Tantithamthavorn C, Choetkiertikul M, Ragkhitwetsagul C, Sunetnanta T (2020) In: 2020 35th IEEE/ACM International conference on automated software engineering (ASE), pp 1336–1339 Khanan C, Luewichana W, Pruktharathikoon K, Jiarpakdee J, Tantithamthavorn C, Choetkiertikul M, Ragkhitwetsagul C, Sunetnanta T (2020) In: 2020 35th IEEE/ACM International conference on automated software engineering (ASE), pp 1336–1339
Zurück zum Zitat Kim S, Ernst MD (2007) In: Proceedings of the the 6th joint meeting of the european software engineering conference and the ACM SIGSOFT symposium on the foundations of software engineering (Association for Computing Machinery, New York, USA), ESEC-FSE ’07, pp 45-54. https://doi.org/10.1145/1287624.1287633 Kim S, Ernst MD (2007) In: Proceedings of the the 6th joint meeting of the european software engineering conference and the ACM SIGSOFT symposium on the foundations of software engineering (Association for Computing Machinery, New York, USA), ESEC-FSE ’07, pp 45-54. https://​doi.​org/​10.​1145/​1287624.​1287633
Zurück zum Zitat Matsumoto S, Kamei Y, Monden A, Matsumoto Ki, Nakamura M (2010) In: Proceedings of the 6th international conference on predictive models in software engineering (Association for Computing Machinery, New York, USA), PROMISE ’10. https://doi.org/10.1145/1868328.1868356 Matsumoto S, Kamei Y, Monden A, Matsumoto Ki, Nakamura M (2010) In: Proceedings of the 6th international conference on predictive models in software engineering (Association for Computing Machinery, New York, USA), PROMISE ’10. https://​doi.​org/​10.​1145/​1868328.​1868356
Zurück zum Zitat McIntosh S, Kamei Y, Adams B, Hassan AE (2014) In: Proc. of the working conference on mining software repositories (MSR), pp 192–201 McIntosh S, Kamei Y, Adams B, Hassan AE (2014) In: Proc. of the working conference on mining software repositories (MSR), pp 192–201
Zurück zum Zitat Oosterwaal S, Deursen Av, Coelho R, Sawant AA, Bacchelli A (2016) In: Proceedings of the 2016 24th ACM SIGSOFT international symposium on foundations of software engineering (Association for Computing Machinery, New York, USA), FSE 2016, pp 1038-1041. https://doi.org/10.1145/2950290.2983929 Oosterwaal S, Deursen Av, Coelho R, Sawant AA, Bacchelli A (2016) In: Proceedings of the 2016 24th ACM SIGSOFT international symposium on foundations of software engineering (Association for Computing Machinery, New York, USA), FSE 2016, pp 1038-1041. https://​doi.​org/​10.​1145/​2950290.​2983929
Zurück zum Zitat Rezk C, Kamei Y, McIntosh S (2022) IEEE Transactions on Software Engineering 48(9):3297–3309CrossRef Rezk C, Kamei Y, McIntosh S (2022) IEEE Transactions on Software Engineering 48(9):3297–3309CrossRef
Zurück zum Zitat Romano J, Kromrey JD, Coraggio J, Skowronek J, Devine L (2006) In: Annual meeting of the Southern association for institutional research, pp 1–51 Romano J, Kromrey JD, Coraggio J, Skowronek J, Devine L (2006) In: Annual meeting of the Southern association for institutional research, pp 1–51
Zurück zum Zitat Sadowski C, Söderberg E, Church L, Sipko M, Bacchelli A (2018) In: 2018 IEEE/ACM 40th international conference on software engineering: software engineering in practice track (ICSE-SEIP), pp 181–190 Sadowski C, Söderberg E, Church L, Sipko M, Bacchelli A (2018) In: 2018 IEEE/ACM 40th international conference on software engineering: software engineering in practice track (ICSE-SEIP), pp 181–190
Metadaten
Titel
Studying the impact of risk assessment analytics on risk awareness and code review performance
verfasst von
Xueyao Yu
Filipe R. Cogo
Shane McIntosh
Michael W. Godfrey
Publikationsdatum
01.03.2024
Verlag
Springer US
Erschienen in
Empirical Software Engineering / Ausgabe 2/2024
Print ISSN: 1382-3256
Elektronische ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-024-10443-x

Weitere Artikel der Ausgabe 2/2024

Empirical Software Engineering 2/2024 Zur Ausgabe

Premium Partner