arrow
返回

Deep Code-Commend Understanding and Assessment

delete2019-01-01
delete0
delete
OA
AI
D
Deze Wang
Y
Yong Guo *
W
Wei Dong
Z
Zhiming Wang
H
Haoran Liu
S
Shanshan Li
DOI:10.1109/ACCESS.2019.2957424delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Code comments are a key software component for program comprehension and software maintainability. High-quality code and comments are urgently needed by data-driven models widely used in tasks like code summarization. Many existing approaches for assessing the quality of comments are machine learning based classification algorithms or rely on heuristic rules. These approaches are difficult to capture the complicated features of text data and are often limited in accuracy, efficiency, and generalization ability. In this paper, we convert the quality assessment of code comments into a classification problem based on the multi-input neural network. We summarize the input, the code and comments, into vectors using the attention-based Bi-LSTM model and the weighted GloVe model, respectively, and concatenate the code vectors and the comment vectors as the input of the Multiple-Layer Perceptron classifier for the comment quality assessment. Experimental results show that our approach, in general, outperforms the previous technique, on both our labeled dataset and the public dataset, with the Fl-score of 96.91% and 91.90%, respectively. Using the training set and the testing set from distinct sources, our approach can still achieve reasonable performance, which demonstrates its generalization ability.
Keyword:
Code comment
source code
multi-input neural network
text classification
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

N
national university of defense technology - china
学者数:
1.8W
论文数: 1.4W
被引数: 9
引用论文

引用论文

EXTRACELLULAR ANDROGEN‐BINDING PROTEINS: SPECIES COMPARISON AND STRUCTURE‐FUNCTION RELATIONSHIPS*
err2006-12-16
err0
PREAI
errNeal A. Musto; Fernando Larrea; Su‐Li Cheng; Nicolas Kotite; Glen Gunsalus; C. Wayne Bardin
err分享
err收藏
Measuring Program Comprehension: A Large-Scale Field Study with Professionals
err2018-10-01
err195
errOAAI
errXia, Xin; Bao, Lingfeng; Lo, David; Xing, Zhenchang; Hassan, Ahmed E.; Li, Shanping
err分享
err收藏
Urinary retention following routine neurosurgical spine procedures
err2001-01-01
err0
PREAI
errNicholas M Boulis; Farukh S Mian; David Rodriguez; Edward Cho; Julian T Hoff
err分享
err收藏
err分享
err收藏
学者 查看更多内容