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

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

计算机科学 > 软件工程

arXiv:1908.06567 (cs)
[提交于 2019年8月19日]

标题:Recommendation of Exception Handling Code in Mobile App Development

作者:Tam The Nguyen, Phong Minh Vu, Tung Thanh Nguyen
查看论文《Recommendation of Exception Handling Code in Mobile App Development》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In modern programming languages, exception handling is an effective mechanism to avoid unexpected runtime errors. Thus, failing to catch and handle exceptions could lead to serious issues like system crashing, resource leaking, or negative end-user experiences. However, writing correct exception handling code is often challenging in mobile app development due to the fast-changing nature of API libraries for mobile apps and the insufficiency of their documentation and source code examples. Our prior study shows that in practice mobile app developers cause many exception-related bugs and still use bad exception handling practices (e.g. catch an exception and do nothing). To address such problems, in this paper, we introduce two novel techniques for recommending correct exception handling code. One technique, XRank, recommends code to catch an exception likely occurring in a code snippet. The other, XHand, recommends correction code for such an occurring exception. We have developed ExAssist, a code recommendation tool for exception handling using XRank and XHand. The empirical evaluation shows that our techniques are highly effective. For example, XRank has top-1 accuracy of 70% and top-3 accuracy of 87%. XHand's results are 89% and 96%, respectively.
评论: The 34th IEEE/ACM International Conference on Automated Software Engineering (ASE 2019) - Late Breaking Results
主题: 软件工程 (cs.SE)
引用方式: arXiv:1908.06567 [cs.SE]
  (或者 arXiv:1908.06567v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.06567

提交历史

来自:Tam Nguyen
[v1] 2019年8月19日 星期一 02:46:01 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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