Title :
On the Use of Automated Text Summarization Techniques for Summarizing Source Code
Author :
Haiduc, Sonia ; Aponte, Jairo ; Moreno, Laura ; Marcus, Andrian
Author_Institution :
Dept. of Comput. Sci., Wayne State Univ., Detroit, MI, USA
Abstract :
During maintenance developers cannot read the entire code of large systems. They need a way to get a quick understanding of source code entities (such as, classes, methods, packages, etc.), so they can efficiently identify and then focus on the ones related to their task at hand. Sometimes reading just a method header or a class name does not tell enough about its purpose and meaning, while reading the entire implementation takes too long. We study a solution which mitigates the two approaches, i.e., short and accurate textual descriptions that illustrate the software entities without having to read the details of the implementation. We create such descriptions using techniques from automatic text summarization. The paper presents a study that investigates the suitability of various such techniques for generating source code summaries. The results indicate that a combination of text summarization techniques is most appropriate for source code summarization and that developers generally agree with the summaries produced.
Keywords :
software maintenance; automated text summarization technique; software entity; source code summarization; textual description; Computer science; Correlation; Large scale integration; Lead; Semantics; Software systems; program comprehension; text summarization;
Conference_Titel :
Reverse Engineering (WCRE), 2010 17th Working Conference on
Conference_Location :
Beverly, MA
Print_ISBN :
978-1-4244-8911-4
DOI :
10.1109/WCRE.2010.13