Not logged in.

Contribution Details

Type Conference or Workshop Paper
Scope Discipline-based scholarship
Published in Proceedings Yes
Title Classifying Code Comments in Java Open-Source Software Systems
Organization Unit
Authors
  • Luca Pascarella
  • Alberto Bacchelli
Presentation Type paper
Item Subtype Original Work
Refereed Yes
Status Published in final form
Language
  • English
ISBN 978-1-5386-1544-7
Page Range 227 - 237
Event Title 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR)
Event Type conference
Event Location Buenos Aires, Argentina
Event Start Date June 20 - 2017
Event End Date June 21 - 2017
Place of Publication USA
Publisher IEEE
Abstract Text Code comments are a key software component containing information about the underlying implementation. Several studies have shown that code comments enhance the readability of the code. Nevertheless, not all the comments have the same goal and target audience. In this paper, we investigate how six diverse Java OSS projects use code comments, with the aim of understanding their purpose. Through our analysis, we produce a taxonomy of source code comments, subsequently, we investigate how often each category occur by manually classifying more than 2,000 code comments from the aforementioned projects. In addition, we conduct an initial evaluation on how to automatically classify code comments at line level into our taxonomy using machine learning, initial results are promising and suggest that an accurate classification is within reach.
Digital Object Identifier 10.1109/MSR.2017.63
Other Identification Number merlin-id:20238
PDF File Download from ZORA
Export BibTeX
EP3 XML (ZORA)
Additional Information ACM SIGSOFT Distinguished Paper Award