Title
How is IF Statement Fixed Through Code Review? A Case Study of Qt Project
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 ")".
Year
DOI
Venue
2017
10.1109/ISSREW.2017.32
2017 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)
Keywords
Field
DocType
if statement,code review,conditional statement,static code analysis,fix detection
Software engineering,Computer science,Convention,Readability,Real-time computing,Software,Operator (computer programming),Software quality,Code (cryptography),Code review,Reliability engineering,Empirical research
Conference
ISSN
ISBN
Citations 
2375-821X
978-1-5386-2388-6
0
PageRank 
References 
Authors
0.34
24
5
Name
Order
Citations
PageRank
Yuki Ueda101.69
Akinori Ihara223819.84
Toshiki Hirao331.40
Takashi Ishio421128.48
Ken-ichi Matsumoto51396131.56