返回
Learning Code Context Information to Predict Comment Locations
DOI:10.1109/TR.2019.2931725.png)
摘要
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总结
对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。
期刊
IF:
5.7
论文数:
2.8K
被引数:
8.5K
机构
引用论文
Lys63/Met1-hybrid ubiquitin chains are commonly formed during the activation of innate immune signallingLys63/Met1-hybrid泛素链通常在先天免疫信号激活过程中形成
The cytoplasmic protein GAP is implicated as the target for regulation by the ras gene product
Nature
IF0
Electrical Conductivity of Reproductive Tissue for Detection of Estrus in Dairy Cows用于检测奶牛发情的繁殖组织电导率
Stability of Iodine in Iodized Salt Used for Correction of Iodine-Deficiency Disorders. II用于纠正碘缺乏病的碘盐中碘的稳定性。二
Bilateral Wilms Tumor in a Boy with Severe Hypospadias and Cryptorchidism Due to a Heterozygous Mutation in the WT1 Gene由于WT1基因的杂合突变,患有严重尿道下裂和隐睾的男孩的双侧Wilms肿瘤

