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

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

计算机科学 > 软件工程

arXiv:1911.10471 (cs)
[提交于 2019年11月24日]

标题:Basis Path Coverage Criteria for Smart Contract Application Testing

作者:Xinming Wang, Zhijian Xie, Jiahao He, Gansen Zhao, Nie Ruihua
查看论文《Basis Path Coverage Criteria for Smart Contract Application Testing》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The widespread recognition of the smart contracts has established their importance in the landscape of next generation blockchain technology. However, writing a correct smart contract is notoriously difficult. Moreover, once a state-changing transaction is confirmed by the network, the result is immutable. For this reason, it is crucial to perform a thorough testing of a smart contract application before its deployment. This paper's focus is on the test coverage criteria for smart contracts, which are objective rules that measure test quality. We analyze the unique characteristics of the Ethereum smart contract program model as compared to the conventional program model. To capture essential control flow behaviors of smart contracts, we propose the notions of whole transaction basis path set and bounded transaction interaction. The former is a limited set of linearly independent inter-procedural paths from which the potentially infinite paths of Ethereum transactions can be constructed by linear combination, while the latter is the permutations of transactions within a certain bound. Based on these two notions, we define a family of path-based test coverage criteria. Algorithms are given to the generation of coverage requirements. A case study is conducted to compare the effectiveness of the proposed test coverage criteria with random testing and statement coverage testing.
评论: 8 pages
主题: 软件工程 (cs.SE)
引用方式: arXiv:1911.10471 [cs.SE]
  (或者 arXiv:1911.10471v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1911.10471
期刊参考: in proceedings of cyber 2019

提交历史

来自:Xinming Wang
[v1] 2019年11月24日 星期日 08:27:42 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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