【24h】

Automatic online specification mining

机译:自动在线规范挖掘

获取原文

摘要

Dynamic specification inference attempts to infer specifications of software's correct behaviors from execution traces. Automatic online specification mining (AOSM) automatically infers software specifications from online behaviors of in-field programs. Compared with off-line approaches, AOSM is more challenging. On the one hand, it is necessary to divide the evolving trace into small learning units, which we call scenario identification. On the other hand, if online programs encounter failure, erroneous traces which may make specifications inferred very possibly wrong will be produced. This paper gives the solutions of these two problems. For scenario identification, we extract sub-traces of methods issued by one method execution, and infer a FSM (Finite State Machine) model for each method. For the second problem, we assume that software functions are correct in most cases. So we utilize statistical approach to filter out failed software behavior. Meanwhile, based on such strategies, we present a framework for inferring specifications automatically for in-field software. The experiment result demonstrates that precision and completeness of specifications inferred by AOSM respectively have increases of 25% and 7.2% more than these inferred by off-line approach and that AOSM can effectively deal with software failure.
机译:动态规范推断尝试从执行迹线推断出软件的正确行为的规范。自动在线规范挖掘(AOSM)自动从现场计划的在线行为中介绍软件规格。与离线方法相比,AOSM更具挑战性。一方面,有必要将不断发展的迹线划分为小型学习单位,我们称之为场景识别。另一方面,如果在线程序遇到失败,则会产生可能使规范推断出来的错误的迹象。本文给出了这两个问题的解决方案。对于场景识别,我们提取一个方法执行的方法的子迹线,并为每个方法推断FSM(有限状态机)模型。对于第二个问题,我们假设在大多数情况下,软件功能是正确的。因此,我们利用统计方法过滤掉失败的软件行为。同时,根据此类策略,我们为现场软件自动推断规格框架。实验结果表明,AOSM推断的规格的精确性和完整性分别增加了25%和7.2%,而不是通过离线方法推断,并且AOSM可以有效地处理软件故障。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号