Using Machine Learning to Identify Code Fragments for Manual Review
Paper i proceeding, 2020

Code reviews are one of the first quality assurance tasks in continuous software integration and delivery. The goal of our work is to reduce the need for manual reviews by automatically identify which code fragments should be further reviewed manually. We conducted an action research study with two companies where we extracted code reviews and build machine learning classifiers (AdaBoost and Convolutional Neural Network- CNN). Our results show that the accuracy of recognizing code fragments that require manual review, measured with Matthews Correlation Coefficient, was 0.70 in the combination of our own feature extraction and CNN. We conclude that this way of combining automation with manual code reviews can improve the speed of reviews while providing organizations with the possibility to support knowledge transfer among the designers.

code reviews

continuous integration

machine learning

Författare

Miroslaw Staron

Chalmers, Data- och informationsteknik, Software Engineering

Göteborgs universitet

M. Ochodek

Politechnika Poznanska

Wilhelm Meding

Ericsson AB

Ola Söder

Axis Communication AB

Proceedings - 46th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2020

513-516 9226313
9781728195322 (ISBN)

46th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2020
Kranj, Slovenia,

Ämneskategorier (SSIF 2025)

Programvaruteknik

Datavetenskap (datalogi)

Datorsystem

DOI

10.1109/SEAA51224.2020.00085

Mer information

Senast uppdaterat

2025-11-18