A New Dataset for Source Code Comment Coherence
Open Access
- 1 January 2016
- book chapter
- Published by OpenEdition
- p. 100-104
Abstract
Source code comments provide useful insights on a codebase and on the intent behind design decisions and goals. Often, the information provided in the comment of a method and in its corresponding implementation may be not coherent with each other (i.e., the comment does not properly describe the implementation). Several could be the motivations for this issue (e.g., comment and source code do not evolve coherently). In this paper, we present the results of a manual assessment on the coherence between comments and implementations of 3, 636 methods, gathered from 4 Java open-source software. The results of this assessment has been collected in a dataset that we made publicly available on the web. We also sketch here the protocol to create this dataset.Keywords
This publication has 8 references indexed in Scilit:
- On the Coherence between Comments and Implementations in Source Code2015
- Weighing lexical information for software clustering in the context of architecture recoveryEmpirical Software Engineering, 2015
- LINSEN: An efficient approach to split identifiers and expand abbreviations2012
- Experimentation in Software Engineering2012
- Normalizing Source Code Vocabulary2010
- Using the Kleinberg Algorithm and Vector Space Model for Software System Clustering2010
- Do Code and Comments Co-Evolve? On the Relation between Source Code and Comment Changes14th Working Conference on Reverse Engineering (WCRE 2007), 2007
- A Coefficient of Agreement for Nominal ScalesEducational and Psychological Measurement, 1960