Research on Polymorphism of Java Programs Based on Program Slicing
- Author
- ShiWuLue
- Advisor
- LiHua
- School
- Northeastern University
- Major
- Computer Software and Theory
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 37
- Citations
- 0
Abstract
Program slicing is an effective program analysis technique, which can extract the required part to analyze from the source program according to the given slicing criteria, such as program debugging, testing, reconstruction analysis of procedures and so on. Program slicing technique in structured programming has been more widely used, but like Java, the object-oriented language such procedures, in the aspect of application and research there are still some issues to be resolved. As a typical object-oriented programming language, the slicing technique of Java program is very representative. In Java program, such as process parameter, polymorphism, exception handling, multi-threaded problems and so on, is the focus and difficult problems in current field of the research of program slice technology.Through the analysis of process characteristics of Java language, especially the analysis of inter-dependence, the paper uses a improve system dependence graph (ISDG) to research polymorphism of Java programs. First make the local system dependence graph (LSDG) to every rewritten or covered method aiming at the reliance relations of method between the son and parent class, and then make system dependence graph (SDG) without the reliance relations on inter-object, and then target the relationship between the structure-dependent non-object inter-dependencies of system dependence graph (SDG). Finally, aiming at the reliance relations with inter-object in the ISDG of previous step add a dependency side between the methods rely on the side, and get the improved system dependence graph (ISDG). Using ISDG successfully solved problem of polymorphism expression in Java program. At the same time, this paper uses a Java program slicing criteria, and gives its slicing algorithm based on the ISDG.In order to make ISDG more universal and practical, ISDG will be extended to a more complex polymorphism problem in the papers. And aiming at the phenomenon that there is a large number of duplication of partial ISDG in the complicated ISDG, the papers proposed solution:The repeated node was marked as reusable leaves node. The solution simplified the ISDG, reduced complexity and increased efficiency. Through comparison with OODSDG using the method of instrumentation, the papers further demonstrates the features and advantages of ISDG.
Table of contents
Chinese abstract 5-6
Abstract 6-11
Chapter 1 Introduction 11-17
1.1 background and significance 11-12
1.2 Status slicing technology research program application 12-13
1.3 program slicing technology 13-14
1.4 papers basic tasks 14-16
1.5 papers main content 16-17
Chapter 2 program slicing review development history 17-25
2.1 program slicing technology 17-18
2.2 program slicing definition 18
2.3 program slicing classification 18-23
2.3.1 forward to the slice and the slice 18-19
2.3.2 static and dynamic slice sliced ?? 19-21
intra 2.3.3 slicing and slicing 21
2.3. 4 amorphous slice 21
2.3.5 quasi-static slice 21-22
2.3.6 conditions slice 22
2.3.7 decomposition slice 22
2.3.8 synchronous Dynamic slicing 22-23
2.4 Summary 23-25 ??
Chapter 3 program slicing common standards, algorithms and tools 25-35
3.1 program slicing criteria 25-26
3.2 program slicing algorithm 26-30
3.2.1 slices based on data flow equations calculation Method 26
3.2.2 algorithm based on information flow relationships 26-27
3.2.3 dependency graph based reachability graph algorithm 27 <br / > 3.2.4 amorphous slicing algorithm 27-28
3.2.5 slicing algorithm based on dynamic dependency graph 28
3.2.6 based on the moveable block to slice algorithm 28
3.2.7 slicing algorithm based on dynamic D / U expression 28-29
3.2.8 fluctuations graph -based algorithm statement 29 < br /> 3.2.9 other relevant research 29-30
3.3 program slicing tools introduced 30-33
3.3.1 Wisconsin 30
3.3.2 Chopshop 30
3.3.3 Ghinsu 30
3.3.4 Spyder 30-31
3.3.5 Unravel 31
3.3.6 OST 31
3.3.7 ConSIT 31-32
3.3.8 PSS / Ada system 32
3.3. 9 Menagerie 32
3.3.10 other PST 32-33
3.4 Summary 33-35
Chapter 4 slice Java programs based ISDG technical 35-63
4.1 SDG -based slicing technology 35-41
4.1.1 Introduction SDG slicing technology based 36-38
4.1 .2 traditional SDG problems 38-41
4.2 improved system dependence graph (ISDG) dependencies 41-46
4.2.1 Java program analysis 41
4.2.2 construct improved SDG 41-46
4.3 ISDG the Java -based program slicing 46-48
4.3.1 Java slicing criterion program 46-47
4.3.2 ISDG slicing algorithm based Java programs 47-48
4.4 will ISDG extended to more complex issues polymorphism 48-57
4.4.1 construct a partial system dependence graph (LSDG) 50
4.4.2 build system dependence graph (SDG) 50-52 <br / > Add Method 4.4.3 inter- dependence edges 52-54
4.4.4 to simplify the cumbersome ISDG be 54-56
4.4.5 based on the simplified ISDG the Java program slicing 56-57
4.5 ISDG comparison with OODSDG 57-62
4.5.1 Instrumentation technology program 57-58
4.5.2 static stub difficulty 58
4.5.3 application in a dynamic slice 58-61
distinction 4.5.4 ISDG and OODSDG of 61 -62
4.6 summary 62-63
Chapter 5 summary and Outlook 63-65
5.1 summarizes 63
5.2 Prospects 63-65
References 65-69
Thanks 69
Related dissertations
- The Technique of Program Slicing Based on the Signal-Oriented ATLAS Language
- Research on Java Program Slicing with Exception-handling Constructs
- Design and Implementation of Database Change Impact Analyzing Based on Program Slicing
- Slicing of Aspect-Oriented Programs and Its Application in Test Data Generation
- 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