Analysis of Prevalent Code Improvements through Code Review

DOI IR HANDLE Open Access

Bibliographic Information

Other Title
  • コードレビュー作業において頻繁に修正されるソースコード改善内容の分析

Abstract

<p>Open-source software evolves into high-performance and high-quality software by accepting submissions of source code changes from many patch authors. However, source code changes that are submitted to a project does not always obey projects' coding conventions defined. Hence, reviewers waste a large amount of time to verify source code and suggest source code improvements for patch authors. The time to improve source code can be reduced if patch authors solve these issues by themselves before patch submissions. To investigate an understandable checklist for developers in addition to coding conventions, this study analyzes source code improvement contents that are frequently solved on code review. From four Python project datasets, we found 56.0% code changes do not have an impact on behavior. We also found that only 13.4% of code improvements could be verified by using static analysis tools. As a contribution, we revealed the source code changes in code review and the improvement contents that can detect before submitting the patch by using the static analysis tools.</p>

Journal

  • Computer Software

    Computer Software 37 (2), 2_76-2_85, 2020-04-23

    Japan Society for Software Science and Technology

Related Projects

See more

Details 詳細情報について

Report a problem

Back to top