Do comments explain codes adequately?
|Title||Do comments explain codes adequately?|
|Publication Type||Conference Paper|
|Year of Publication||2011|
|Authors||Mizuno, Osamu, and Hirata Yukinao|
|Tertiary Authors||van Deursen, Arie, Xie Tao, and Zimmermann Thomas|
|Secondary Title||Proceedings of the 8th working conference on Mining software repositories - MSR '11|
|Place Published||New York, New York, USA|
|Keywords||comments, eclipse, msr challenge, netbeans, prediction|
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.