Research of Impact Analysis of Change in Object-Oriented Software
|Keywords||Software Testing Regression testing Object-oriented Members of the dependency graph Edit impact analysis|
Software engineering is the important methods of modern software design , high-quality , high - reliability software design foundation . Software testing is an important part of software engineering , software testing is to find software errors , an important means to improve software reliability . Regression testing is testing to confirm the correctness of the modified software modified , thus in the process of executing test cases in front of the development process of the software testing process is the same , just the execution of a collection of test cases may be different . Regression testing \software developers need a mechanism to understand how a modified to affect other parts of the system , we have such a mechanism known as a modification impact analysis . It also enables software developers to know a specific modifications extent to affect the system , so that they know that only need to test those changes and modify the affected components to reduce testing costs to arrive . In this paper, the characteristics of the object-oriented method , we use the analytical methods of the class members to find out the relationship between the class members . First define a class of data dependence and control dependence , and a member of the class of particle size analysis , construct more accurate a member of the dependency graph , and then proposed to modify the type of algorithm to identify the classes and class members affected by the changes in procedures . This program regression testing , as long as the re- test the affected members , in order to reduce the test cost . White and Rothermel algorithm than in between classes to modify the impact analysis to accurately construct dependent model is simpler than the statement-level analysis . The main results of this paper include proposed modifications affect the dependency graph of the class members object-oriented software - based analysis algorithm designed a Java source code analysis framework and modify the impact analysis of the prototype system tools (ChAT ) . This study can help application developers to determine the classes and methods need to retest schedule and cost estimates and develop in regression testing .