arrow
返回

Function Call Graph Context Encoding for Neural Source Code Summarization

delete2023-09-01
delete5
PRE
AI
A
Aakash Bansal *
Z
Zachary Eberhart
Z
Zachary Karas
Y
Yu Huang
C
Collin McMillan
DOI:10.1109/TSE.2023.3279774delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Source code summarization is the task of writing natural language descriptions of source code. The primary use of these descriptions is in documentation for programmers. Automatic generation of these descriptions is a high value research target due to the time cost to programmers of writing these descriptions themselves. In recent years, a confluence of software engineering and artificial intelligence research has made inroads into automatic source code summarization through applications of neural models of that source code. However, an Achilles' heel to a vast majority of approaches is that they tend to rely solely on the context provided by the source code being summarized. But empirical studies in program comprehension are quite clear that the information needed to describe code much more often resides in the context in the form of Function Call Graph surrounding that code. In this paper, we present a technique for encoding this call graph context for neural models of code summarization. We implement our approach as a supplement to existing approaches, and show statistically significant improvement over existing approaches. In a human study with 20 programmers, we show that programmers perceive generated summaries to generally be as accurate, readable, and concise as human-written summaries.
Keyword:
Codes
Source coding
Context modeling
Decoding
Algorithms
Software engineering
Machine translation
Automatic documentation generation
context-aware models
neural networks
source code summarization

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.8K
被引数:
1.1W

机构

U
University of Notre Dame
学者数:
1.2W
论文数: 1.1W
被引数: 1.7W
引用论文

引用论文

err
IF0
err
err0
errOAAI
err
err分享
err收藏
Ninety-six suspected transfusion related acute lung injury cases: Investigation findings and clinical outcome
err2013-09-04
err0
errOAAI
errNay Win; Edwin Massey; Geoff Lucas; Deborah Sage; Colin Brown; Ann Green; Marcela Contreras; Cristina Navarrete
err分享
err收藏
Digital Optical Card
err1995-01-01
err0
PREAI
errMathias Langer; C. H. Buitrago-Téllez; C. Schulze; H. Gufler; A. Mundinger; F. Kommos
err分享
err收藏
Homeobox Gene Involvement in Normal Hematopoiesis and in the Pathogenesis of Childhood Leukemias
err2017-01-01
err0
PREAI
errMaria Adamaki; Maria Goulielmaki; Ioannis Christodoulou; Spiros Vlahopoulos; Vassilis Zoumpourlis
err分享
err收藏
err分享
err收藏
Unusual Photoisomerization Pathway in a Near-Infrared Light Absorbing Enzymerhodopsin
err2022-10-06
err0
PREAI
errMasahiro Sugiura; Kazuki Ishikawa; Kota Katayama; Yuji Sumii; Rei Abe-Yoshizumi; Satoshi P. Tsunoda; Yuji Furutani; Norio Shibata; Leonid S. Brown; Hideki Kandori
err分享
err收藏
Investigation of coal fueled chemical looping combustion using Fe3O4 as oxygen carrier: Influence of variables
err2010-05-16
err0
PREAI
errXiaoyan Sun; Wenguo Xiang; Sha Wang; Wendong Tian; Xiang Xu; Yanji Xu; Yunhan Xiao
err分享
err收藏
err分享
err收藏
学者 查看更多内容