Understanding Source Code Comments at Large-Scale

Published:

Authors: Hao He
Venue: The 2019 27th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering
Links: [DOI] [BibTeX] [PDF] [Code]
Notes: Student Research Competition

Cite As

            

Abstract

Source code comments are important for any software, but the basic patterns of writing comments across domains and programming languages remain unclear. In this paper, we take a first step toward understanding differences in commenting practices by analyzing the comment density of 150 projects in 5 different programming languages. We have found that there are noticeable differences in comment density, which may be related to the programming language used in the project and the purpose of the project.

Leave a Comment