arrow
返回

Classifying code comments in Java software systems

Java软件系统中的代码注释分类

delete2019-04-26
delete34
delete
OA
AI
L
Luca Pascarella *
M
Magiel Bruntink
Alberto Bacchelli 封面图
Alberto Bacchelli (Alberto Bacchelli)
DOI:10.1007/s10664-019-09694-wdelete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Code comments are a key software component containing information about the underlying implementation. Several studies have shown that code comments enhance the readability of the code. Nevertheless, not all the comments have the same goal and target audience. In this paper, we investigate how 14 diverse Java open and closed source software projects use code comments, with the aim of understanding their purpose. Through our analysis, we produce a taxonomy of source code comments; subsequently, we investigate how often each category occur by manually classifying more than 40,000 lines of code comments from the aforementioned projects. In addition, we investigate how to automatically classify code comments at line level into our taxonomy using machine learning; initial results are promising and suggest that an accurate classification is within reach, even when training the machine learner on projects different than the target one. Data and Materials [10.5281/zenodo.2628361].
Keyword:
Code comments usage
Code comment classification
Dataset
AI总结

AI总结

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

Taxonomy of inline code comment smells内联代码注释气味的分类
err2024-04-03
err1
errOAAI
errJabrayilzade, Elgun; Yurtoglu, Ayda; Tuzun, Eray
err分享
err收藏
An alternative to code comment generation? Generating comment from bytecode代码注释生成的替代方法?从字节码生成注释
err2025-03-01
err0
PREAI
errChen, Xiangping; Chen, Junqi; Lian, Zhilu; Huang, Yuan; Zhou, Xiaocong; Wu, Yunzhi; Zheng, Zibin
err分享
err收藏
CommtPst: Deep learning source code for commenting positions prediction
err2020-12-01
err15
PREAI
errHuang, Yuan; Hu, Xinyu; Jia, Nan; Chen, Xiangping; Zheng, Zibin; Luo, Xiapu
err分享
err收藏
Towards automatically generating block comments for code snippets走向自动生成代码片段的块注释
err2020-11-01
err24
PREAI
errHuang, Yuan; Huang, Shaohao; Chen, Huanchao; Chen, Xiangping; Zheng, Zibin; Luo, Xiapu; Jia, Nan; Hu, Xinyu; Zhou, Xiaocong
err分享
err收藏
A Comparative Study on Method Comment and Inline Comment方法注释与内联注释的比较研究
err2023-07-22
err8
errOAAI
errHuang, Yuan; Guo, Hanyang; Ding, Xi; Shu, Junhuai; Chen, Xiangping; Luo, Xiapu; Zheng, Zibin; Zhou, Xiaocong
err分享
err收藏
On the Significance of Category Prediction for Code-Comment Synchronization
err2023-03-29
err22
PREAI
errYang, Zhen; Keung, Jacky Wai; Yu, Xiao; Xiao, Yan; Jin, Zhi; Zhang, Jingyu
err分享
err收藏

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
6.4K

机构

U
University of Zurich
学者数:
2.5K
论文数: 980
被引数: 3.1W
D
delft university of technology
学者数:
2.1K
论文数: 879
被引数: 2.3W
引用论文

引用论文

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收藏
Free posterior tibial perforator flap: Anatomy and a report of 6 cases
err1996-01-01
err0
PREAI
errLeung-Kim Hung; Jie Lao; Pak-Cheong Ho
err分享
err收藏
Adiabatic nanofocusing: spectroscopy, transport and imaging investigation of the nano world
err2014-11-04
err0
PREAI
errA Giugni; M Allione; B Torre; G Das; M Francardi; M Moretti; M Malerba; G Perozziello; P Candeloro; E Di Fabrizio
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容