计算机科学 ›› 2006, Vol. 33 ›› Issue (7): 249-252.

• 计算机网络与信息安全 • 上一篇    下一篇

面向Java语言的进化测试中分支依赖图的构建

  

  • 出版日期:2018-11-17 发布日期:2018-11-17
  • 基金资助:
    “十五”国防预先研究项目“可信软件工程技术”(413150501)资助.

  • Online:2018-11-17 Published:2018-11-17

摘要: 在面向对象程序的进化测试中,面向对象程序本身的状态特性使得一个分支的到达需要一定长度方法调用序列的执行,而封装特性则使得在一个对象外部无法直接调用其private方法或者protected方法。针对这两个问题,采用基于蚁群算法和遗传算法的动态搜索与静态分析相结合的方式提供了一种有效的思路。本文针对这种思路中的静态分析过程提出分支依赖图的概念,并设计、实现了针对Java语言的方法内分支依赖图以及类的分支依赖图的构建算法。

关键词: 进化测试 状态问题 分支依赖

Abstract: In evolutionary testing, the execution of a sequence of method invocations is required to cover a given branch for the state characteristic of object-oriented programs, and private/protected methods can't be invocated directly because of the encapsulation

Key words: Evolutionary testing, State problem, Branch dependence

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!