An Effect of Comment Statements on Source Code Corrective Maintenance

  • Authors:
  • Hirohisa Aman;Hirokazu Okazaki;Hiroyuki Yamada

  • Affiliations:
  • Graduate School of Science and Engineering, Ehime University;Graduate School of Science and Engineering, Ehime University;Graduate School of Science and Engineering, Ehime University

  • Venue:
  • Proceedings of the 2006 conference on Knowledge-Based Software Engineering: Proceedings of the Seventh Joint Conference on Knowledge-Based Software Engineering
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper focuses on the density of comment statements in a source code, and statistically analyzes an impact of the comment statement density (CSD) on the source code change rate (SCR) through a corrective maintenance. More thorough writing of comments encourages the developers to review their source code more carefully, then that leads to quality improvements of those code. An empirical study is performed with 1,820 version-upgrade cases in an open-source software, Eclipse. The empirical results show that SCR tends to increase when CSD is less than 59.5%.