kirancodes.me
To Proof Maintenance & Beyond!

Understanding source code comments at large-scale

Hao He

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.

BibTeX
@inproceedings{He:FSE19,
  author    = {Hao He},
  title     = {Understanding source code comments at large-scale},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {1217--1219},
  publisher = {{ACM}},
  year      = {2019},
}

Related papers