Summarizing Services of Java Packages

Maen Hammad, Anas Abuljadayel, Mohammad Khalaf
2016 Lecture Notes on Software Engineering  
Program comprehension is essential for code maintenance and evolution activities. It saves time and efforts of developers who want to perform any code changes. It also minimizes the chances of introducing bugs. Textual summaries for source code provide great help to code understanding activities. This paper presents an approach to automatically generate textual summaries for services implemented in java packages. The summary is generated by analyzing the source code of methods defined the
more » ... e. Each method represents a service provide by the package. Each service is summarized as a natural language textual description. The generated summary for a method mainly includes the used data and the names of invoked methods. Summaries of all methods defined in a package are refined and integrated to be reported as a comprehensive summary for the services provided by the package. The generated summaries are useful in different ways. They can be used by developers in their maintenance activities. They also can be useful for the documentation purposes. Index Terms-Program comprehension, software maintenance, source code summarization.
doi:10.7763/lnse.2016.v4.237 fatcat:imnk3jtfxbdwtijsg2oijamow4