arrow
返回

An data augmentation method for source code summarization

delete2023-09-01
delete2
PRE
AI
Z
Zixuan Song
H
Hui Zeng
X
Xiuwei Shang
G
Guanxi Li
H
Hui Li
S
Shikai Guo *
DOI:10.1016/j.neucom.2023.126385delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Code comments improve the readability and intelligibility of codes, Unfortunately, code comments are often missing, or outdated in software projects, which negatively affects the efficiency of developers to infer the functionality from source code and affect the efficiency of software maintenance and evolution. To solve this problem, many source code summarization algorithms have been proposed, which automatically generate code comments from source code. However, these methods usually try to collect a large data set which contains the mapping between code comments and source code to train models. However, there are two limitations for the training sets: the insufficient data collection limitation (i.e., generate a large amount of noises-free training data) and data distribution bias limitation (i.e., generate training data for infrequently used methods). To address this issues, we have proposed a data augmentation method for code comments, named CDA-CS. Training models on the augmented dataset, the state-of the-art algorithms can easily get a further 1.37% to 2.24% improvement in terms of different evaluation metrics (i.e., BLUE-4, METEOR, ROUGH_L).& COPY; 2023 Elsevier B.V. All rights reserved.
Keyword:
Code summary
Data augmentation
Clustering
Word replacement
Code Structure-Guided Transformer for Source Code Summarization
err2023-02-13
err33
errOAAI
errGao, Shuzheng; Gao, Cuiyun; He, Yulan; Zeng, Jichuan; Nie, Lunyiu; Xia, Xin; Lyu, Michael
err分享
err收藏
Boosting source code learning with text-oriented data augmentation: an empirical study
err2025-02-18
err0
PREAI
errDong, Zeming; Hu, Qiang; Guo, Yuejun; Zhang, Zhenya; Cordy, Maxime; Papadakis, Mike; Le Traon, Yves; Zhao, Jianjun
err分享
err收藏
An Eye-Tracking Study of Java Programmers and Application to Source Code Summarization
err2015-11-01
err47
PREAI
errRodeghero, Paige; Liu, Cheng; McBurney, Paul W.; McMillan, Collin
err分享
err收藏
On the effectiveness of graph data augmentation for source code learning
err2024-02-01
err1
PREAI
errDong, Zeming; Hu, Qiang; Zhang, Zhenya; Zhao, Jianjun
err分享
err收藏
SECON: Maintaining Semantic Consistency in Data Augmentation for Code Search
err2025-01-16
err0
errOAAI
errZhang, Xu; Lin, Zexu; Hu, Xiaoyu; Wang, Jianlei; Lu, Wenpeng; Zhou, Deyu
err分享
err收藏
READSUM: Retrieval-Augmented Adaptive Transformer for Source Code Summarization
err2023-01-01
err4
errOAAI
errChoi, Yunseok; Na, Cheolwon; Kim, Hyojun; Lee, Jee-Hyong
err分享
err收藏

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.6W
被引数:
8.4W

机构

大连海事大学 封面图
大连海事大学
学者数:
2.2K
论文数: 663
被引数: 6.1K
引用论文

引用论文

err
IF0
err
err0
errOAAI
err
err分享
err收藏
Fret: Functional Reinforced Transformer With BERT for Code Summarization
err2020-01-01
err31
errOAAI
errWang, Ruyun; Zhang, Hanwen; Lu, Guoliang; Lyu, Lei; Lyu, Chen
err分享
err收藏
err分享
err收藏
Application of RAPD for molecular characterization of plant species of medicinal value from an arid environment
err2010-01-01
err0
errOAAI
errI.A. Arif; M.A. Bakir; H.A. Khan; A.H. Al Farhan; A.A. Al Homaidan; A.H. Bahkali; M. Al Sadoon; M. Shobrak
err分享
err收藏
err分享
err收藏
学者 查看更多内容