How is if statement fixed through code review? A case study of QT project. Ueda, Y., Ihara, A., Hirao, T., Ishio, T., & Matsumoto, K. In Proceedings - 2017 IEEE 28th International Symposium on Software Reliability Engineering Workshops, ISSREW 2017, 2017.
doi  abstract   bibtex   
Peer code review is key to ensuring the absence of software defects. To improve the review process, many code review tools provide OSS(Open Source Software) project CI(Continuous Integration) tests that automatically verify code quality issues such as a code convention issues. However, these tests do not cover project policy issues and a code readability issues. In this study, our main goal is to understand how a code owner fixes conditional statement issues based on reviewers feedback. We conduct an empirical study to understand if statement changes after review. Using 69,325 review requests in the Qt project, we analyze changes of the if conditional statements that (1) are requested to be reviewed, and (2) that are implemented after review. As a result, we find the most common symbolic changes are '(' and ')' (35%), '!' operator (20%) and '->' operator (12%). Also, '!' operator is frequently replaced with '(' and ')'.
@inproceedings{
 title = {How is if statement fixed through code review? A case study of QT project},
 type = {inproceedings},
 year = {2017},
 keywords = {Code review,Conditional statement,Fix detection,If statement,Static code analysis},
 id = {5ac1578a-9562-3be7-acba-4fc4ec3ec9dd},
 created = {2022-08-02T00:49:50.985Z},
 file_attached = {false},
 profile_id = {b3dfde71-3d8d-3b4f-b54d-dcc8724cac78},
 last_modified = {2022-08-02T00:49:50.985Z},
 read = {false},
 starred = {false},
 authored = {true},
 confirmed = {false},
 hidden = {false},
 private_publication = {true},
 abstract = {Peer code review is key to ensuring the absence of software defects. To improve the review process, many code review tools provide OSS(Open Source Software) project CI(Continuous Integration) tests that automatically verify code quality issues such as a code convention issues. However, these tests do not cover project policy issues and a code readability issues. In this study, our main goal is to understand how a code owner fixes conditional statement issues based on reviewers feedback. We conduct an empirical study to understand if statement changes after review. Using 69,325 review requests in the Qt project, we analyze changes of the if conditional statements that (1) are requested to be reviewed, and (2) that are implemented after review. As a result, we find the most common symbolic changes are '(' and ')' (35%), '!' operator (20%) and '->' operator (12%). Also, '!' operator is frequently replaced with '(' and ')'.},
 bibtype = {inproceedings},
 author = {Ueda, Y. and Ihara, A. and Hirao, T. and Ishio, T. and Matsumoto, K.},
 doi = {10.1109/ISSREW.2017.32},
 booktitle = {Proceedings - 2017 IEEE 28th International Symposium on Software Reliability Engineering Workshops, ISSREW 2017}
}

Downloads: 0