期刊文献+

面向对象程序的两种修改影响分析方法 被引量:5

Two Methods of Change Impact Analysis for Object-Oriented Programs
在线阅读 下载PDF
导出
摘要 软件测试和软件维护是保证软件质量、减少软件错误的重要过程。在软件发展过程中,常常需要对程序进行修改。为了确保对程序的修改达到目的和没有引入新的错误,必须对修改后的程序进行回归测试和进行修改影响分析。在面向对象的程序中,由于鼓励类的继承和使用过程,程序修改的扩散效应更为明显,减少回归测试耗费、增强修改影响分析功能的问题显得非常重要。本文介绍了两种修改影响分析方法:基于类粒度的防火墙方法和类成员粒度的调用图方法,并对防火墙算法进行了改进,并对基于调用图的分析方法进行了简化。针对不同的需求和实际情况,可以采用不同方法或结合两种方法进行修改影响分析,提高分析效率。 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
出处 《计算机工程与科学》 CSCD 2005年第5期101-103,共3页 Computer Engineering & Science
基金 国家自然科学基金资助项目(60273070)
关键词 面向对象 程序设计 模块化 编程语言 程序修改影响分析方法 软件开发 软件测试 软件维护 change impact analysis object-oriented program regression testing class firewall call graph
  • 相关文献

参考文献5

  • 1D Kung, J Gao, P Hsia, et al. Class Firewall, Test Order, and Regression Testing of Object-Oriented Programs[J]. Journal of Object-Oriented Programming, 1995,8(2):51-65.
  • 2Y Labiche, P Thévenod-Fosse, H Waeselynck,et al. Testing Levels for Object-Oriented Software[A]. ICSE 2000[C].2000.136-145.
  • 3Barbara G Ryder, Frank Tip. Change Impact Analysis for Object-Oriented Programs[A]. PASTE'01[C].2001.46-53.
  • 4F Tip, J Palsberg. Scalable Propagation-Based Call Graph Construction Algorithms[A]. Proc ACM SIGPLAN Conf on Object-Oriented Programming Systems, Languages, and Applications (OOPSLA'00)[C].2000.281-293.
  • 5G Rothermel, M J Harrold. A Safe,Efficient Regression Test Selection Technique[J]. ACM Trans on Software Engineering and Methodology,1997,6(2):173-120.

同被引文献14

引证文献5

二级引证文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部