Chapter 17

Code Comment Analysis for Improving Software Quality*

Lin Tan*    * Department of Electrical and Computer Engineering, University of Waterloo, Waterloo, ON, Canada

Abstract

Code comments contain a rich amount of information that can be leveraged to improve software maintainability and reliability. This chapter on studying and analyzing free-form and semistructured code comments will help practitioners, researchers, and students learn about (1) the characteristics and content of code comments, (2) the techniques, tools, and measures for studying and analyzing code comments automatically or semiautomatically, and (3) future research directions and challenges. Readers will acquire a unique blend of interdisciplinary techniques, including ...

Get The Art and Science of Analyzing Software Data now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.