Publication

Back to overview

Speculative Analysis for Quality Assessment of Code Comments

Type of publication Peer-reviewed
Publikationsform Proceedings (peer-reviewed)
Author Rani Pooja,
Project Agile Software Assistance
Show all

Proceedings (peer-reviewed)

Page(s) 299 - 303
Resource not found: '1004e2f2-7f0f-4059-98dc-85b461ccb4d7' 2021 IEEE/ACM 43rd International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)
Resource not found: '2c16e549-085a-403d-9cf0-fc39e0a9c123' 10.1109/icse-companion52605.2021.00132

Resource not found: '82d2de57-5ee6-42e9-84f8-fbf9f90d470b'

Resource not found: '125594bc-16c6-4bea-916a-ba49ca1e6ec4' http://scg.unibe.ch/archive/papers/Rani21a.pdf
Resource not found: '84350bdf-1c79-48a3-8d73-edae7da55e3e' Repository (Green Open Access)

Resource not found: '5d2c6cf3-d2cc-4319-ad72-ec3c8830c12a'

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 relevant guidelines to write consistent and informative comments, verifying the adherence of their comments to the guidelines, and evaluating the overall state of comment quality. To help developers and researchers in building comment quality assessment tools, we provide: (i) an empirically validated taxonomy of comment convention-related questions from various community forums, (ii) an empirically validated taxonomy of comment information types from various programming languages, (iii) a language-independent approach to automatically identify the information types, and (iv) a comment quality taxonomy prepared from a systematic literature review.
-