摘要
给出了一种应用于分析C++程序的类切片算法。对于一个给定的C++程序及其继承关系,应用此算法可以除去与程序执行无关的数据成员、成员函数、类及继承关系,从而对大而复杂的面向对象软件的调试、测试、分析、理解和修改过程提供了一种切实可行的方法。
In this paper an algorithm for slicing in C++ programs is prensented. Given a C++ program and inheritance relations, the algorithm eliminates from the hierarchy those data members , member function, classes and inheritance relations that are un-necessary . Class slicing is a feasible method for program debugging , testing , analysis , understanding , and revising of big and complex program.
出处
《计算机工程与设计》
CSCD
2002年第7期75-78,共4页
Computer Engineering and Design