arrow
返回

Learning Code Context Information to Predict Comment Locations

delete2020-03-01
delete22
PRE
AI
黄袁 封面图
黄袁 (Yuan Huang)
X
Xinyu Hu
N
Nan Jia
X
Xiangping Chen *
Y
Yingfei Xiong
Z
Zibin Zheng
DOI:10.1109/TR.2019.2931725delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Code commenting is a common programming practice of practical importance to help developers review and comprehend source code. In our developer survey, commenting has become an important, yet often-neglected activity when programming. Moreover, there is a lack of formal and automatic way in current practice to remind developers where to comment in the source code. To provide informative guidance on commenting during development, we propose a novel method CommentSuggester to recommend developers regarding appropriate commenting locations in the source code. Because commenting is closely related to the context information of source code, we identify this important factor to determine comment positions and extract it as structural context features, syntactic context features, and semantic context features. Subsequently, machine learning techniques are applied to identify possible commenting locations in the source code. We evaluated CommentSuggester using large datasets from dozens of open-source software systems in GitHub. The encouraging experimental results and user study demonstrated the feasibility and effectiveness of our commenting suggestion method.
Keyword:
Feature extraction
Software
Semantics
Programming
Predictive models
Syntactics
Buildings
Code context information
code features extraction
comment location
comment quality
commenting decision
AI总结

AI总结

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

期刊

IEEE Transactions on Reliability 封面图
IEEE Transactions on Reliability
IF:
5.7
论文数:
2.8K
被引数:
8.5K

机构

S
Sun Yat Sen University
学者数:
9.9W
论文数: 7.2W
被引数: 95
H
Hebei GEO University
学者数:
1.4K
论文数: 935
被引数: 943
P
peking university
学者数:
11.9W
论文数: 8.7W
被引数: 146
学者 查看更多机构
引用论文

引用论文

The cytoplasmic protein GAP is implicated as the target for regulation by the ras gene product
err1988-04-01
err0
PREAI
errCarmela Calés; John F. Hancock; Christopher J. Marshall; Alan Hall
err分享
err收藏
Estimation of phase derivative from a single fringe pattern using Riesz transforms
err2017-04-12
err0
PREAI
errYassine Tounsi; Sara Zada; Desire Muhire; Ahmed Siari; Abdelkrim Nassim
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Bilateral Wilms Tumor in a Boy with Severe Hypospadias and Cryptorchidism Due to a Heterozygous Mutation in the WT1 Gene由于WT1基因的杂合突变,患有严重尿道下裂和隐睾的男孩的双侧Wilms肿瘤
err1999-02-01
err0
errOAAI
errBirgit Köhler; Valerie Schumacher; Ursula Schulte-Overberg; Wolfgang Biewald; Thomas Lennert; Dagmar l'Allemand; Brigitte Royer-Pokora; Annette Grüters
err分享
err收藏
学者 查看更多内容