arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1111.2825cs.LOcs.SE
收藏

基于模型的跟踪检查

Model-Based Trace-Checking

Y. Howard, S. Gruner, A. Gravell, C. Ferreira, J. C. Augusto

摘要:

跟踪分析是发现被测程序中问题的一种有用的方法。而不是写一个特殊用途的痕迹分析工具,本文提出,痕迹可以有效地进行分析,检查他们对一个正式的模型,使用标准的模型检查器或动画可执行规范。这些技术都说明了使用J2EE实现的旅行社的案例研究。我们在这段代码中添加了跟踪bean,它将跟踪信息写入数据库。然后提取轨迹并将其转换为适合于Spin(一种流行的模型检查器)和Pro-B(一种B符号的模型检查器和动画制作器)分析的形式。这说明了技术,也说明了这样一个系统可以有各种各样的模型,用不同的符号,捕捉不同的特征。这些实验表明,基于模型的痕迹检测是可行的。未来的工作重点是通过提高自动化水平,将方法扩大到更大的系统。

英文摘要:

Trace analysis can be a useful way to discover problems in a program under test. Rather than writing a special purpose trace analysis tool, this paper proposes that traces can usefully be analysed by checking them against a formal model using a standard model-checker or else an animator for executable specifications. These techniques are illustrated using a Travel Agent case study implemented in J2EE. We added trace beans to this code that write trace information to a database. The traces are then extracted and converted into a form suitable for analysis by Spin, a popular model-checker, and Pro-B, a model-checker and animator for the B notation. This illustrates the technique, and also the fact that such a system can have a variety of models, in different notations, that capture different features. These experiments have demonstrated that model-based trace-checking is feasible. Future work is focussed on scaling up the approach to larger systems by increasing the level of automation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑