首页> 外文OA文献 >Monitoring-Oriented Programming: A Tool-Supported Methodology for Higher Quality Object-Oriented Software
【2h】

Monitoring-Oriented Programming: A Tool-Supported Methodology for Higher Quality Object-Oriented Software

机译:面向监控的编程:一种工具支持的高质量面向对象软件的方法论

摘要

This paper presents a tool-supported methodological paradigm for object-oriented software development, called monitoring-oriented programming and abbreviated MOP, in which runtime monitoring is a basic software design principle. The general idea underlying MOP is that software developers insert specifications in their code via annotations. Actual monitoring code is automatically synthesized from these annotations before compilation and integrated at appropriate places in the program, according to user-defined configuration attributes. This way, the specification is checked at runtime against the implementation. Moreover, violations and/or validations of specifications can trigger user-defined code at any points in the program, in particular recovery code, outputting or sending messages, or raising exceptions. The MOP paradigm does not promote or enforce any specific formalism to specify requirements: it allows the users to plug-in their favorite or domain-specific specification formalisms via logic plug-in modules. There are two major technical challenges that MOP supporting tools unavoidably face: monitor synthesis and monitor integration. The former is heavily dependent on the specification formalism and comes as part of the corresponding logic plug-in, while the latter is uniform for all specification formalisms and depends only on the target programming language. An experimental prototype tool, called Java-MOP, is also discussed, which currently supports most but not all of the desired MOP features. MOP aims at reducing the gap between formal specification and implementation, by integrating the two and allowing them together to form a system.
机译:本文针对面向对象的软件开发提出了一种工具支持的方法范式,称为面向监视的程序设计和简称MOP,其中运行时监视是基本的软件设计原理。 MOP的基本思想是软件开发人员通过注释将规范插入其代码中。实际的监视代码是在编译之前根据这些注释自动合成的,并根据用户定义的配置属性集成在程序的适当位置。这样,可以在运行时对照实现检查规范。此外,违反和/或验证规范可能会在程序的任何位置触发用户定义的代码,特别是恢复代码,输出或发送消息或引发异常。 MOP范例不促进或强制执行任何特定形式规范来指定需求:它允许用户通过逻辑插件模块来插入自己喜欢的或特定于领域的规范形式。 MOP支持工具不可避免地面临两个主要技术挑战:监视器合成和监视器集成。前者在很大程度上依赖于规范形式主义,并且是相应逻辑插件的一部分,而后者对于所有规范形式主义都是统一的,并且仅取决于目标编程语言。还讨论了一种称为Java-MOP的实验性原型工具,该工具当前支持大多数(但不是全部)所需的MOP功能。 MOP旨在通过将两者集成在一起并允许它们一起形成一个系统,来缩小形式规范与实现之间的差距。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号