Do comments explain codes adequately?
Title | Do comments explain codes adequately? |
Publication Type | Conference Paper |
Year of Publication | 2011 |
Authors | Mizuno, O, Hirata, Y |
Tertiary Authors | van Deursen, A, Xie, T, Zimmermann, T |
Secondary Title | Proceedings of the 8th working conference on Mining software repositories - MSR '11 |
Pagination | 242-245 |
Date Published | 05/2011 |
Publisher | ACM Press |
Place Published | New York, New York, USA |
ISBN Number | 9781450305747 |
Keywords | comments, eclipse, msr challenge, netbeans, prediction |
Abstract | Comment lines in the software source code include descriptions of codes, usage of codes, copyrights, unused codes, comments, and so on. It is required for comments to explain the content of written code adequately, since the wrong description in the comment may causes further bug and confusion in maintenance. In this paper, we try to clarify a research question: "In which projects do comments describe the code adequately?" To answer this question, we selected the group 1 of mining challenge and used data obtained from Eclipse and Netbeans. Since it is difficult to answer the above question directly, we define the distance between codes and comments. By utilizing the fault-prone module prediction technique, we can answer the alternative question from the data of two projects. The result shows that Eclipse project has relatively adequate comments. |
DOI | 10.1145/1985441.1985482 |
Full Text |
- Log in or register to post comments
- Google Scholar
- DOI
- BibTeX
- Tagged
- EndNote XML