首页 | 本学科首页   官方微博 | 高级检索  
     

面向对象程序的两种修改影响分析方法
引用本文:雷海虹,缪力,张大方.面向对象程序的两种修改影响分析方法[J].计算机工程与科学,2005,27(5):101-103.
作者姓名:雷海虹  缪力  张大方
作者单位:1. 湖南大学软件学院,湖南,长沙,410082
2. 湖南大学软件学院,湖南,长沙,410082;湖南大学计算机与通信学院,湖南,长沙,410082
基金项目:国家自然科学基金资助项目(60273070)
摘    要:软件测试和软件维护是保证软件质量、减少软件错误的重要过程。在软件发展过程中,常常需要对程序进行修改。为了确保对程序的修改达到目的和没有引入新的错误,必须对修改后的程序进行回归测试和进行修改影响分析。在面向对象的程序中,由于鼓励类的继承和使用过程,程序修改的扩散效应更为明显,减少回归测试耗费、增强修改影响
响分析功能的问题显得非常重要。本文介绍了两种修改影响分析方法:基于类粒度的防火墙方法和类成员粒度的调用图方法,并对防火墙算法进行了改进,并对基于调用图的分析方法进行了简化。针对不同的需求和实际情况,可以采用不同方法或结合两种方法进行修改影响分析,提高分析效率。

关 键 词:面向对象  程序设计  模块化  编程语言  程序修改影响分析方法  软件开发  软件测试  软件维护
文章编号:1007-130X(2005)05-00101-03
修稿时间:2004年3月10日

Two Methods of Change Impact Analysis for Object-Oriented Programs
LEI Hai-hong,MIAO Li,ZHANG Da-fang.Two Methods of Change Impact Analysis for Object-Oriented Programs[J].Computer Engineering & Science,2005,27(5):101-103.
Authors:LEI Hai-hong  MIAO Li  ZHANG Da-fang
Abstract:It is obvious that small changes made in part of a program can have major and non-local effect in object-oriented programs. Therefore, reducing the expense of regression testing is very important. Because of inheritance and dynamic binding, the relationship of class members is very complex, and it induces the difficulty of change impact analysis. This paper introduces two methods that can be used to analyze the change impact of object-oriented programs, one is based on class firewalls, and the other based on call graphs. Furthermore, we improve the two methods to adapt to more change impact
Keywords:change impact analysis  object-oriented program  regression testing  class firewall  call graph
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号