首页> 外文期刊>Automated software engineering >Inferring visual contracts from Java programs
【24h】

Inferring visual contracts from Java programs

机译:从Java程序推断可视合约

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

摘要

Visual contracts model the operation of components or services by pre- and post-conditions formalised as graph transformation rules. They provide a precise intuitive notation to support testing, understanding and analysis of software. Their detailed specification of internal data states and transformations, referred to as deep behavioural modelling, is an error-prone activity. In this paper we propose a dynamic approach to reverse engineering visual contracts from Java based on tracing the execution of Java operations. The resulting contracts give an accurate description of the observed object transformations, their effects and preconditions in terms of object structures, parameter and attribute values, and their generalised specification by universally quantified (multi) objects, patterns, and invariants. While this paper focusses on the fundamental technique rather than a particular application, we explore potential uses in our evaluation, including in program understanding, review of test reports and debugging.
机译:可视化合同通过形式化为图形转换规则的前提条件和前提条件对组件或服务的操作进行建模。它们提供精确的直观符号来支持软件的测试,理解和分析。他们对内部数据状态和转换的详细说明(称为深度行为建模)是容易出错的活动。在本文中,我们基于跟踪Java操作的执行情况,提出了一种从Java逆向工程可视化合同的动态方法。生成的协定对​​观察到的对象转换,它们在对象结构,参数和属性值方面的效果和前提条件以及通过通用量化(多个)对象,模式和不变量进行的广义规范进行了准确描述。尽管本文着重于基本技术而非特定的应用程序,但我们探索了评估中的潜在用途,包括程序理解,测试报告审查和调试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号