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

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

计算机科学 > 软件工程

arXiv:1807.02261 (cs)
[提交于 2018年7月9日]

标题:On the Use of Context in Recommending Exception Handling Code Examples

作者:Mohammad Masudur Rahman, Chanchal K. Roy
查看论文《On the Use of Context in Recommending Exception Handling Code Examples》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Studies show that software developers often either misuse exception handling features or use them inefficiently, and such a practice may lead an undergoing software project to a fragile, insecure and non-robust application system. In this paper, we propose a context-aware code recommendation approach that recommends exception handling code examples from a number of popular open source code repositories hosted at GitHub. It collects the code examples exploiting GitHub code search API, and then analyzes, filters and ranks them against the code under development in the IDE by leveraging not only the structural (i.e., graph-based) and lexical features but also the heuristic quality measures of exception handlers in the examples. Experiments with 4,400 code examples and 65 exception handling scenarios as well as comparisons with four existing approaches show that the proposed approach is highly promising.
评论: The 14th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2014), pp. 285--294, Victoria, Canada, September 2014
主题: 软件工程 (cs.SE)
引用方式: arXiv:1807.02261 [cs.SE]
  (或者 arXiv:1807.02261v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1807.02261
期刊参考: Proc. SCAM 2014, pp. 285--294
相关 DOI: https://doi.org/10.1109/SCAM.2014.15

提交历史

来自:Mohammad Masudur Rahman
[v1] 2018年7月9日 星期一 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2018-07
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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