首页> 外文期刊>Software, IET >UML interaction model-driven runtime verification of Java programs
【24h】

UML interaction model-driven runtime verification of Java programs

机译:UML交互模型驱动的Java程序运行时验证

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

The authors use unified modelling language (UML) 2.0 interaction overview diagrams (IODs) and sequence diagrams to construct simple and expressive scenario-based specifications, and present an approach to runtime verification of Java programs for exceptional consistency and mandatory consistency. The exceptional consistency requires that any forbidden scenario described by a given IOD never happens during the execution of a program, and the mandatory consistency requires that if a reference scenario described by a given sequence diagram occurs during the execution of a program, it must immediately adhere to a scenario described by a given IOD. In the approach, the authors first instrument a program under verification so as to gather the program execution traces related to a given scenario-based specification; then they drive the instrumented program to execute for generating the program execution traces; finally they check if the collected program execution traces satisfy the given specification. The approach leads to a supporting tool for testing in which UML interaction models are used as automatic test oracles to detect the wrong temporal ordering of message interaction in programs.
机译:作者使用统一建模语言(UML)2.0交互概述图(IOD)和序列图来构建基于场景的简单且具有表现力的规范,并提出了一种用于Java程序运行时验证的方法,以实现出色的一致性和强制性一致性。出色的一致性要求给定IOD描述的任何禁止方案在程序执行期间都不会发生,强制性一致性要求如果给定序列图描述的参考方案在程序执行期间发生,则必须立即遵守给定的IOD描述的方案。在该方法中,作者首先对正在验证的程序进行检测,以收集与给定的基于场景的规范有关的程序执行跟踪;然后,它们驱动所检测的程序执行以生成程序执行跟踪;最后,他们检查收集的程序执行跟踪是否满足给定的规范。该方法导致了一个用于测试的支持工具,其中UML交互模型用作自动测试预言机,以检测程序中消息交互的错误时间顺序。

著录项

  • 来源
    《Software, IET》 |2011年第2期|p.142-156|共15页
  • 作者单位

    State Key Laboratory of Novel Software Technology, Nanjing University, Nanjing, Jiangsu, People's Republic of China, Department of Computer Science and Technology, Nanjing University, Nanjing, Jiangsu, People's Republic of China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号