Research into Change Impact Analysis in Object-Oriented Software Based on Call Graph
- Author
- PengZhongLian
- Advisor
- DingXiaoMing
- School
- Southwestern University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 49
- Citations
- 1
Abstract
Software testing is a crucial means to ensure software quality and improve the reliability of software products.And it is indispensable in a software project.The goal of software testing is to find out errors and bugs with least time and manpower.Regression test is an important part of software testing.It retests the modified program to determine whether changes have been made correctly and to investigate whether those changes will cause any adverse effect on the program behavior.It is vital for the research of regression test to improve the efficiency of regression test and to reduce the test cost.During regression test,"retest-all" is impossible in either cost or time.Especially when a software system has been changed a little,"retest-all" will waste cost.But modified parts may affect the other parts.So software developers need a mechanism which is called change impact analysis to understand how a change impacts the rest of the system.It allows a software developer to know which of the areas in the software system are possibly affected by the change and retest only those classes affected instead of the whole system to reduce test cost.It is important for reducing regression test cost to improve change impact analysis.According to the features of the object-oriented technology,we use class member analysis method to get the relation of class members.We define the call relation of class members, construct a call graph based on class hierarchy analysis,reduce the call graph and put forward algorithms of change types to class members affected by the modified program.Compared with White and Rothermel’s algorithm,the algorithm in the paper is much preciser than class diagram, much easier than statement-dependence model.The paper is put forward an algorithm of change impact analysis based on call graph of object-oriented software,designed an analysis architecture for Java program language and implemented a prototype system.
Table of contents
Abstract 5-6
Abstract 6-8
Chapter 1 Introduction 8-14
1.1 Background 8-11
1.1.1 software testing and regression testing 8-9
1.1.2 Object-Oriented Software regression testing 9-10
1.1.3 modify the impact analysis 10-11
1.2 modifications affect Research 11-13
1.2.1 modify the impact of process-oriented software analysis 11-12
1.2.2 modify the impact of object-oriented software analysis 12-13
1.3 of this article study the contents of 13-14
object-oriented software modification impact analysis in Chapter 2 14-22
2.1 object-oriented features of the software 14-16
2.1.1 encapsulation is 14-15
2.1.2 inheritance 15-16
2.1.3 polymorphism and dynamic binding 16
2.2 features of object-oriented software testing 16-20
2.2.1 encapsulation is testing 17-18
2.2.2 inheritance test 18-19
2.2.3 of polymorphism and dynamic binding test 19-20
2.3 object-oriented modified impact analysis 20-21
2.3.1 the process of amending 20
2.3.2 Impact Analysis 20
2.3.3 Impact Analysis role 20-21
2.3.4 object-oriented modify the impact analysis 21
2.4 Summary 21-22
Chapter 3
modification impact analysis algorithm based on the function call graph 22-34
3.1 based on class hierarchy analysis of the relevant concepts of the function call graph 22-27
3.1.1 function call graph definition 22
3.1.2 class hierarchy diagram 22-25
3.1.3 function call graph construction algorithm 25-27
3.2 reduction function call graph 27-30
3.2.1 virtual function calls in real terms - polymorphic 27
3.2.2 based on class hierarchy analysis solution strategy 27-28
3.2.3 improved solution strategy 28-30
3.3 changes in procedures based on the Reduction function call graph analysis algorithms 30-32
3.3.1 class member functions to modify 30-31
3.3.2 other modifications 31
3.3.3 Algorithm thinking 31-32
3.4 algorithm 32-33
3.5 Summary 33-34
Chapter 4
object-oriented modify the impact analysis of the prototype system 34-45
4.1 system is designed 34-38
4.1.1 framework 35
4.1.2 functional modules 35-38
4.2 system to achieve 38-44
4.2.1 information extraction module 38-39
4.2.2 Information Processing module to achieve 39-41
4.2.3 function call graph construction module to achieve 41-43
4.2.4 modify the impact analysis 43-44
4.3 Summary 44-45
conclusions 45-47
References 47-50
thank 50-51
Appendix A during the master's degree papers and participate in the project 51
Related dissertations
- Regression Testing Method of Oriented-Objects Program
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
- Design and Implementation of Tianhua College Office System
- Universities Fixed Asset Lifecycle Management System Design
- Analysis and design of engineering project management system
- The Design and Implementation of Vehicle Tracking Management System
- Design and Implementation of the Management System of the Service Area
- The Design and Realization of Campus Blog System Based on ASP
- The Design and Implementation of the Ship Agency Management System
- Design and Implementation of Supermarket Chain Chongqing Chongkelong Co Information System
- Design and Implementation of Network Curriculum Teaching Platform for Middle School
- Analysis and design of student information management system
- Design and Implementation of Community Management Sub-System on Police Mobile System
- Chengdu Jinjian Finance Bureau Financial Approval System Design and Implementation
- Chengdu Jinpeng Company’s Human Resource Management System Design and Implementation of Master Dissertation
- The Design and Realization of the Financial Approval System