首页> 外文期刊>Software Testing, Verification and Reliability >An Analysis Technique To Increase Testability Of Object-oriented Components
【24h】

An Analysis Technique To Increase Testability Of Object-oriented Components

机译:一种提高面向对象组件可测试性的分析技术

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

摘要

Object-oriented component engineering is increasingly used for system development, partly because it emphasizes portability and reusability. Each time a component is used, it must be retested in the new environment. Unfortunately, the data abstraction that components usually use results in low testability. First, internal variables cannot be directly set Second, even though a test input may trigger a fault, the failure does not propagate to the output. This paper presents a technique to increase object-oriented component testability, thereby making it easier to detect faults. Components are often sealed so that source code is not available. The program analysis is performed at the Java component bytecode level. A component's bytecode is analysed to create a control and data flow graph, which is then used to increase component testability by increasing both controllability and observability. We have implemented this technique and applied it to several components. Experimental results reveal that fault detection can be increased by using our increasing testability process.
机译:面向对象的组件工程越来越多地用于系统开发,部分原因是它强调可移植性和可重用性。每次使用组件时,都必须在新环境中对其进行重新测试。不幸的是,组件通常使用的数据抽象导致可测试性较低。首先,不能直接设置内部变量。其次,即使测试输入可能触发故障,该故障也不会传播到输出。本文提出了一种提高面向对象的组件可测试性的技术,从而使其更易于检测故障。组件通常是密封的,因此源代码不可用。程序分析在Java组件字节码级别执行。分析组件的字节码以创建控制和数据流图,然后将其用于通过增加可控性和可观察性来提高组件的可测试性。我们已经实现了这项技术,并将其应用于几个组件。实验结果表明,通过使用不断增加的可测试性过程,可以提高故障检测的效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号