【24h】

TzuYu: Learning stateful typestates

机译:Tzuyu:学习有状态的Typestates

获取原文

摘要

Behavioral models are useful for various software engineering tasks. They are, however, often missing in practice. Thus, specification mining was proposed to tackle this problem. Existing work either focuses on learning simple behavioral models such as finite-state automata, or relies on techniques (e.g., symbolic execution) to infer finite-state machines equipped with data states, referred to as stateful typestates. The former is often inadequate as finite-state automata lack expressiveness in capturing behaviors of data-rich programs, whereas the latter is often not scalable. In this work, we propose a fully automated approach to learn stateful typestates by extending the classic active learning process to generate transition guards (i.e., propositions on data states). The proposed approach has been implemented in a tool called TzuYu and evaluated against a number of Java classes. The evaluation results show that TzuYu is capable of learning correct stateful typestates more efficiently.
机译:行为模型对于各种软件工程任务非常有用。然而,它们通常在实践中缺失。因此,提出了规范挖掘来解决这个问题。现有的工作既侧重于学习简单的行为模型,如有限状态自动机,或依赖于推断配备有数据状态的有限状态机的技术(例如,符号执行),称为状态类型。前者通常不充分,因为有限状态自动机缺乏捕捉数据丰富的行为的表现力,而后者往往是不可扩展的。在这项工作中,我们提出了一种通过扩展经典的主动学习过程来生成转换后卫(即,数据状态的命题)来提出一种全自动的方法来学习有状态的类型。所提出的方法已在一个名为Tzuyu的工具中实现,并评估了许多Java类。评估结果表明,杜宇能够更有效地学习正确的状态。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号