Projects per year
Abstract
Code review is an effective quality assurance practice, yet can be time-consuming since reviewers have to carefully review all new added lines in a patch. Our analysis shows that at the median, patch authors often waited 15-64 hours to receive initial feedback from reviewers, which accounts for 16%-26% of the whole review time of a patch. Importantly, we also found that large patches tend to receive initial feedback from reviewers slower than smaller patches. Hence, it would be beneficial to reviewers to reduce their effort with an approach to pinpoint the lines that they should pay attention to. In this paper, we proposed REVSPOT-a machine learning-based approach to predict problematic lines (i.e., lines that will receive a comment and lines that will be revised). Through a case study of three open-source projects (i.e., Openstack Nova, Openstack Ironic, and Qt Base), Revspot can accurately predict lines that will receive comments and will be revised (with a Top-10 Accuracy of 81% and 93%, which is 56% and 15% better than the baseline approach), and these correctly predicted problematic lines are related to logic defects, which could impact the functionality of the system. Based on these findings, our Revspot could help reviewers to reduce their reviewing effort by reviewing a smaller set of lines and increasing code review speed and reviewers' productivity.
Original language | English |
---|---|
Title of host publication | Proceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022 |
Editors | Zadia Codabux, Clemente Izurieta |
Place of Publication | Piscataway NJ USA |
Publisher | IEEE, Institute of Electrical and Electronics Engineers |
Pages | 1034-1045 |
Number of pages | 12 |
ISBN (Electronic) | 9781665437868 |
ISBN (Print) | 9781665437875 |
DOIs | |
Publication status | Published - 2022 |
Event | IEEE International Conference on Software Analysis, Evolution, and Reengineering 2022 - Online, Honolulu, United States of America Duration: 15 Mar 2022 → 18 Mar 2022 Conference number: 29th https://ieeexplore.ieee.org/xpl/conhome/9825713/proceeding (Proceedings) https://saner2022.uom.gr/ (Website) |
Publication series
Name | Proceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022 |
---|---|
Publisher | IEEE, Institute of Electrical and Electronics Engineers |
ISSN (Electronic) | 1534-5351 |
Conference
Conference | IEEE International Conference on Software Analysis, Evolution, and Reengineering 2022 |
---|---|
Abbreviated title | SANER 2022 |
Country/Territory | United States of America |
City | Honolulu |
Period | 15/03/22 → 18/03/22 |
Internet address |
|
Keywords
- Modern Code Review
- Software Quality Assurance
Projects
- 1 Finished
-
Practical and Explainable Analytics to Prevent Future Software Defects
Australian Research Council (ARC)
2/03/20 → 2/03/23
Project: Research