首页> 外文期刊>International journal of software engineering and knowledge engineering >Mining Class Temporal Specification Dynamically Based on Extended Markov Model
【24h】

Mining Class Temporal Specification Dynamically Based on Extended Markov Model

机译:基于扩展马尔可夫模型的动态挖掘类别时间规范

获取原文
获取原文并翻译 | 示例
       

摘要

Class temporal specification is a kind of important program specifications especially for object-oriented programs, which specifies that interface methods of a class should be called in a particular sequence. Currently, most existing approaches mine this kind of specifications based on finite state automaton. Observed that finite state automaton is a kind of deterministic models with inability to tolerate noise. In this paper, we propose to mine class temporal specifications relying on a probabilistic model extending from Markov chain. To the best of our knowledge, this is the first work of learning specifications from object-oriented programs dynamically based on probabilistic models. Different from similar works, our technique does not require annotating programs. Additionally, it learns specifications in an online mode, which can refine existing models continuously. Above all, we talk about problems regarding noise and connectivity of mined models and a strategy of computing thresholds is proposed to resolve them. To investigate our technique's feasibility and effectiveness, we implemented our technique in a prototype tool ISpecMiner and used it to conduct several experiments. Results of the experiments show that our technique can deal with noise effectively and useful specifications can be learned. Furthermore, our method of computing thresholds provides a strong assurance for mined models to be connected.
机译:类时间规范是一种重要的程序规范,特别是对于面向对象的程序,它指定应按特定顺序调用类的接口方法。当前,大多数现有方法都是基于有限状态自动机来挖掘此类规范的。观察到有限状态自动机是一种不能容忍噪声的确定性模型。在本文中,我们建议根据从马尔可夫链延伸的概率模型来挖掘类时间规范。据我们所知,这是基于概率模型从面向对象的程序中动态学习规范的第一项工作。与类似的作品不同,我们的技术不需要注释程序。此外,它以在线模式学习规格,从而可以不断完善现有模型。首先,我们讨论有关噪声和挖掘模型的连通性的问题,并提出了一种计算阈值的策略来解决这些问题。为了研究我们的技术的可行性和有效性,我们在原型工具ISpecMiner中实施了我们的技术,并使用它进行了多次实验。实验结果表明,我们的技术可以有效地处理噪声,并且可以学习有用的规范。此外,我们的阈值计算方法为要连接的挖掘模型提供了有力的保证。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号