Summarizing source code with transferred API knowledge

Code summarization, aiming to generate succinctnatural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in softwaremaintenance and evolution. Previous approachesgenerate summaries by retrieving summaries fromsimilar code...

Full description

Saved in:
Bibliographic Details
Main Authors: HU, Xing, LI, Ge, XIA, Xin, LO, David, LU, Shuai, JIN, Zhi
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2018
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/4295
https://ink.library.smu.edu.sg/context/sis_research/article/5298/viewcontent/7594977815c8ca7868ce852b5096e787f0e5.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-5298
record_format dspace
spelling sg-smu-ink.sis_research-52982019-02-21T08:37:14Z Summarizing source code with transferred API knowledge HU, Xing LI, Ge XIA, Xin LO, David LU, Shuai JIN, Zhi Code summarization, aiming to generate succinctnatural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in softwaremaintenance and evolution. Previous approachesgenerate summaries by retrieving summaries fromsimilar code snippets. However, these approachesheavily rely on whether similar code snippets canbe retrieved, how similar the snippets are, and failto capture the API knowledge in the source code,which carries vital information about the functionality of the source code. In this paper, we propose anovel 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 Javaprojects indicate that our approach is effective andoutperforms the state-of-the-art in code summarization. 2018-07-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/4295 info:doi/10.24963/ijcai.2018/314 https://ink.library.smu.edu.sg/context/sis_research/article/5298/viewcontent/7594977815c8ca7868ce852b5096e787f0e5.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Software Engineering
spellingShingle Software Engineering
HU, Xing
LI, Ge
XIA, Xin
LO, David
LU, Shuai
JIN, Zhi
Summarizing source code with transferred API knowledge
description Code summarization, aiming to generate succinctnatural language description of source code, is extremely useful for code search and code comprehension. It has played an important role in softwaremaintenance and evolution. Previous approachesgenerate summaries by retrieving summaries fromsimilar code snippets. However, these approachesheavily rely on whether similar code snippets canbe retrieved, how similar the snippets are, and failto capture the API knowledge in the source code,which carries vital information about the functionality of the source code. In this paper, we propose anovel 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 Javaprojects indicate that our approach is effective andoutperforms the state-of-the-art in code summarization.
format text
author HU, Xing
LI, Ge
XIA, Xin
LO, David
LU, Shuai
JIN, Zhi
author_facet HU, Xing
LI, Ge
XIA, Xin
LO, David
LU, Shuai
JIN, Zhi
author_sort HU, Xing
title Summarizing source code with transferred API knowledge
title_short Summarizing source code with transferred API knowledge
title_full Summarizing source code with transferred API knowledge
title_fullStr Summarizing source code with transferred API knowledge
title_full_unstemmed Summarizing source code with transferred API knowledge
title_sort summarizing source code with transferred api knowledge
publisher Institutional Knowledge at Singapore Management University
publishDate 2018
url https://ink.library.smu.edu.sg/sis_research/4295
https://ink.library.smu.edu.sg/context/sis_research/article/5298/viewcontent/7594977815c8ca7868ce852b5096e787f0e5.pdf
_version_ 1770574602882252800