Hierarchical and Probabilistic Dependence Analysis of Java Programs
- Author
- YuBin
- Advisor
- XuBaoWen
- School
- Southeast University
- Major
- Computer Software and Theory
- Classification
- TP312.1 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 202
- Citations
- 0
Abstract
Program dependence analysis is one of the important and fundamental activities in softeware engineering. It’s the groundwork of program analysis and understanding, and it’s important in most area of software engineering, such as program slicing, reverse engineering, software testing and software refactoring. Java programming language is used more and more frequently in the heterogeneous network system because of its superior platform independence. The more Java software product we have, the more legacy code need to be analysed, to be understood, and to be reused. The necessity of analysing the dependence of Java programs increases gradually.Nowadays, dependence analysis methods on hand cannot accommodate the analysing requirement of Java programming language for its completely OO-Orient characteristic. This thesis introduces a hierarchical and coarse-grained dependence analysis technology after reviewing the traditional dependence analysis technologies and analyse the dependence of Java programs at the package level, the class level and the function level respectively by the principle of "Top down, Precise stepwise". At the statement level, the particular statements are analysed in order to reduce the cost of constructing the whole program dependence relationship. At the statement level, then running probability of the statements in run-time is discussed and the method of dependence analysis which concerning the running probability of statements is proposed. We discussed the effect of different kinds of control statements and methods call in probability of sequent statements, so that we can describe the run-time dependence relationship in more details. The theory and the application of the dependence analysis concerning the probability is introduced sequentially in the thesis. We introduce a novel technology of applying the fuzzy clustering technology to software refactoring, which can quantify the characters of software refactoring and help the programmer to refactor programs in a more objective way. We also propose an improvement of LCOM(Lack of Cohesion Metric) based on the consideration of the numbers of and the dependence probability of the methods in the class, which can improve the accuracy of LCOM. At the last part of the thesis, a prototype of the theorical research is implemented and the prospect of the future work is presented.
Table of contents
Summary 5-6
Abstract 6-9
Chapter Introduction 9-12
1.1 topics based on
1.2 Historical and Current Situation 9-10
1.3 content 10-11
1.4 The structure of the paper 11-12
dependent analysis of the basic theory 12-18
2.1 dependency analysis of the basic concepts 12-15
the 2.1.1 program flow graph 12-13 <br / > 2.1.2 Control Dependence 13
2.1.3 data dependencies 13-14
the 2.1.4 program relies Figure 14
2.1.5 system dependency graph 14-15
2.2 program slicing are found; 15-17
2.2.1 slicing technology classification 16-17
2.2.2 existing slice of insufficient 17
2.3 Chapter Summary 17-18
Chapter Java stratified and probabilistic dependency analysis 18-27
3.1 surface dependency analysis to the object program 18-20
3.1.1 application development technology development Introduction 18-19
3.1.2 characteristics of object-oriented programs 19
3.1.3 object-oriented program dependency analysis strategy 19-20
3.2 Java the layered dependency analysis 20-24
3.2.1 hierarchical model on 3.2.2 private rooms 20-23
dependency analysis the dependency analysis 3.2.3 class 23
23
3.2.4 method of inter-dependence Analysis 23-24
3.2.5 statement dependency analysis 24
the 3.3 Java probability dependency analysis 24-26
3.3.1 Methods the within probability dependency analysis 24-26
3.3.2 the probability dependence analyze 26
3.3.3 introduced rely 26
3.4 Chapter Summary 26-27
Chapter stratified and probability the dependency analysis applications the software refactoring
4.1 27-33 27-30
4.2 class lack of cohesion metrics 30-31
4.3 software testing and program understanding 31-32
4.4 Chapter Summary 32-33
Chapter System Design and Implementation 33-37
5.1 system design thinking nbsp the; 33
5.2 System Architecture 33-34
5.3 system detailed design 34-36
5.3.1 The main data structure 34-35
the 5.3.2 dependency analysis algorithm 35-36
5.4 Chapter Summary 36-37
Chapter VI summarizes 37-38
Acknowledgements the
References 38-39 39-40
Related dissertations
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- A Study on Code Optimization Method of eOLC Control Algorithm
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Research and Implementation of Software Metrics Decision-making System
- 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 Java Refactoring Plug-in Based on Eclipse
- 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
- The Software Refactoring Technology Based on Data Mining and Its Application to the Software Asset Management
- Analysis and design of student information management system
- Design and Implementation of Community Management Sub-System on Police Mobile System