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

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

计算机科学 > 软件工程

arXiv:1811.05005 (cs)
[提交于 2018年11月12日]

标题:A Fine-Grained Approach for Automated Conversion of JUnit Assertions to English

作者:Danielle Gonzalez, Suzanne Prentice, Mehdi Mirakhorli
查看论文《A Fine-Grained Approach for Automated Conversion of JUnit Assertions to English》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Converting source or unit test code to English has been shown to improve the maintainability, understandability, and analysis of software and tests. Code summarizers identify important statements in the source/tests and convert them to easily understood English sentences using static analysis and NLP techniques. However, current test summarization approaches handle only a subset of the variation and customization allowed in the JUnit assert API (a critical component of test cases) which may affect the accuracy of conversions. In this paper, we present our work towards improving JUnit test summarization with a detailed process for converting a total of 45 unique JUnit assertions to English, including 37 previously-unhandled variations of the assertThat method. This process has also been implemented and released as the AssertConvert tool. Initial evaluations have shown that this tool generates English conversions that accurately represent a wide variety of assertion statements which could be used for code summarization or other NLP analyses.
评论: In Proceedings of the 4th ACM SIGSOFT International Workshop on NLP for Software Engineering (NL4SE 18), November 4, 2018, Lake Buena Vista, FL, USA. ACM, New York, NY, USA, 4 pages
主题: 软件工程 (cs.SE)
引用方式: arXiv:1811.05005 [cs.SE]
  (或者 arXiv:1811.05005v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1811.05005
相关 DOI: https://doi.org/10.1145/3283812.3283819

提交历史

来自:Danielle Gonzalez
[v1] 2018年11月12日 星期一 21:17:03 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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