跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2303.08729 (cs)
[提交于 2023年3月15日]

标题:DACOS-A Manually Annotated Dataset of Code Smells

作者:Himesh Nandani, Mootez Saad, Tushar Sharma
查看论文《DACOS-A Manually Annotated Dataset of Code Smells》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Researchers apply machine-learning techniques for code smell detection to counter the subjectivity of many code smells. Such approaches need a large, manually annotated dataset for training and benchmarking. Existing literature offers a few datasets; however, they are small in size and, more importantly, do not focus on the subjective code snippets. In this paper, we present DACOS, a manually annotated dataset containing 10,267 annotations for 5,192 code snippets. The dataset targets three kinds of code smells at different granularity: multifaceted abstraction, complex method, and long parameter list. The dataset is created in two phases. The first phase helps us identify the code snippets that are potentially subjective by determining the thresholds of metrics used to detect a smell. The second phase collects annotations for potentially subjective snippets. We also offer an extended dataset DACOSX that includes definitely benign and definitely smelly snippets by using the thresholds identified in the first phase. We have developed TagMan, a web application to help annotators view and mark the snippets one-by-one and record the provided annotations. We make the datasets and the web application accessible publicly. This dataset will help researchers working on smell detection techniques to build relevant and context-aware machine-learning models.
评论: 4 pages
主题: 软件工程 (cs.SE); 人工智能 (cs.AI); 机器学习 (cs.LG); 程序设计语言 (cs.PL)
引用方式: arXiv:2303.08729 [cs.SE]
  (或者 arXiv:2303.08729v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2303.08729

提交历史

来自:Mootez Saad
[v1] 2023年3月15日 星期三 16:13:40 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-03
切换浏览方式为:
cs
cs.AI
cs.LG
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站