Speculative Analysis for Quality Assessment of Code Comments
Pooja Rani

TL;DR
This paper investigates the characteristics and practices of code comments, providing taxonomies and a language-independent approach to assess comment quality to aid developers and researchers.
Contribution
It introduces empirically validated taxonomies of comment questions and information types, along with a language-independent method for identifying comment information types.
Findings
Developers face challenges in locating comment guidelines.
Comments contain diverse information across languages.
A systematic approach to assess comment quality is proposed.
Abstract
Previous studies have shown that high-quality code comments assist developers in program comprehension and maintenance tasks. However, the semi-structured nature of comments, unclear conventions for writing good comments, and the lack of quality assessment tools for all aspects of comments make their evaluation and maintenance a non-trivial problem. To achieve high-quality comments, we need a deeper understanding of code comment characteristics and the practices developers follow. In this thesis, we approach the problem of assessing comment quality from three different perspectives: what developers ask about commenting practices, what they write in comments, and how researchers support them in assessing comment quality. Our preliminary findings show that developers embed various kinds of information in class comments across programming languages. Still, they face problems in locating…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
