Publication Type
Conference Proceeding Article
Version
publishedVersion
Publication Date
7-2018
Abstract
Code summarization, aiming to generate succinct natural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in software maintenance and evolution. Previous approaches generate summaries by retrieving summaries from similar code snippets. However, these approaches heavily rely on whether similar code snippets can be retrieved, how similar the snippets are, and fail to capture the API knowledge in the source code, which carries vital information about the functionality of the source code. In this paper, we propose a novel approach, named TL-CodeSum, which successfully uses API knowledge learned in a different but related task to code summarization. Experiments on large-scale real-world industry Java projects indicate that our approach is effective and outperforms the state-of-the-art in code summarization.
Discipline
Software Engineering
Research Areas
Software and Cyber-Physical Systems
Publication
Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence (IJCAI 2018), Stockholm, Sweden, July 13-19
First Page
2269
Last Page
2275
Identifier
10.24963/ijcai.2018/314
Publisher
IJCAI
City or Country
Stockholm, Sweden
Citation
HU, Xing; LI, Ge; XIA, Xin; LO, David; LU, Shuai; and JIN, Zhi.
Summarizing source code with transferred API knowledge. (2018). Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence (IJCAI 2018), Stockholm, Sweden, July 13-19. 2269-2275.
Available at: https://ink.library.smu.edu.sg/sis_research/4295
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.24963/ijcai.2018/314

- Citations
- Citation Indexes: 216
- Usage
- Downloads: 1511
- Abstract Views: 1144
- Captures
- Readers: 133