Asynchronous collaborative programming semantics - based version merger
- Author
- TangYanQin
- Advisor
- ZuoWanFeng
- School
- Nanjing Normal University
- Major
- Computational Mathematics
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 20
- Citations
- 0
Abstract
Semantic-based program versions merging has a vast and an important prospect in applying in the asynchronous collaborative programming, which can automatically merge the code by multiple developers simultaneously modified, and offers the base for final amendments. It sufficiently supports the asynchronous collaborative activity, raising the working efficiency of co-operators. In the environment of asynchronous collaborative programming, the co-operators often construct many versions, of which each is a revision or supplement to the original version. As a result, how to merge so many versions into one becomes a very important research topic.This paper firstly introduces the asynchronous collaborative programming technique, program initialization and tag create on technique, which are the base of program differencing analysis.Then it discusses the available differencing analysis and merging technique. In the process of merging the different versions into one, the chief technique is analysis on the difference among the versions. So the paper emphasizes the analysis mechanism about semantic-based difference: the construction of program dependence graph, the partitioning of sequence-congruence, the finding of affected points, and so on.Through the strategy of program transformation, the algorithm of quick finding the affected points, etc, the result of the sequence-congruence can be enhanced, hence a semantic-based accommodated program difference integration (ADI)algorithm is presented. The ADI uses two kinds of program slices------forward sliceand backward slice at the same time which can avoid occurrence of pseudo-conflict phenomenon, effectively solving the problem that the conflict is reported but in fact there is no conflict among the programs in merge algorithm.Finally, according to the research of semantic-based program integration, a semantic-based prototype system is designed and implemented for merging of the versions. All algorithm and schemes presented in this paper have been implemented and verified by the system .Experiment’s results show that these algorithms proposed in this paper can effective and feasible from implementation viewpoint.
Table of contents
Directory 3-5
illustrations index 5-6
summary 6-7
ABSTRACT 7-8
first the chapter preface 8-13
1.1 Background and significance 8
1.2 asynchronous collaborative Programming technology 8-11
1.3 This article 11-13
second program based on the semantic difference analysis the 13-34 2.1 programming language and programming environment
13-14
2.2 program's initial of 14-15
2.3 program labels generated 15-16
2.4 based on the basic concepts of the semantic differences 16-18
2.4.1 chip technology 16-17
2.4.2 semantic differences and vertex classification difference of 17-18
250 single-process program analysis 18-22 <br / > 2.5.1 basic dependency graph 18-20
2.5.1.1 Control Flow Graph CFG 18
2.5.1.2 program dependence graph PDG 18-19
2.5.1.3 program Figure PRG the 19-20
2.5.2 analyzed based on the semantic differences difference of 20-22
2.6 multi-process program analysis 22-25
2.6.1 system dependence graph 22-23
2.6.2 difference analysis 23-25 ??
2.7 Analysis of the difference between object-oriented programming 25-32
2.7.1 basic dependency diagram 26-28
2.7.1.1 object-oriented program dependence graph OPDG are found; 26
2.7.1.2-oriented object dependency graph ODG 26
2.7.1.3 the dependency graph CLDG 26-28
2.7.2 difference algorithm based on semantic fusion 28-32 <br / > 2.8 Chapter Summary 32-34
Chapter maintenance based on semantic version merge 34-45
3.1 existing merge tool and its comparison 34 - 35
3.2 merge field tool requires its consolidation strategy 35-37
330 single-process procedures combined 37-38
3.4 multi-process program combined 38-39
3.5 version merging algorithm based on semantic maintenance ADI the 39-44
3.6 This chapter summary 44-45
Chapter based on semantic the version merged system and achieve 45-55
4.1 design ideas 45
4.2 label tool application 45-47
4.3 difference analysis Application the 47-48 4.4 Case Study
48-54
4.5 Chapter Summary 54-55
Conclusion 55-56
Reference 56-59
Acknowledgements 59
Related dissertations
- Research on Dynamic Monitor System Based on the Source Code of Java
- Research on Reverse Analysis Techniques of Hidden Code in Executables
- The Researches of Two-phase Test Suite Reduction Based on Requirement Anlysis
- Nuclear power program understanding based on OSDG chip
- Research on the Methods of Java Code Clone Detecting
- Research on Static and Dynamic Combined Analysis in Object-Oriented Reverse Engineering
- Object - oriented program slicing technologies and their application of software metrics
- Research on Bahavior-Based Polymorphic Worms Detection Technology
- Research on Constructing of System Information Flow Graph Based on Dependence Graph
- Software Testing Based on Data Mining Technology
- Research on Detection of Redundancies and Related Software Defects of C Programs
- The Research and Applications of Instruction Criticality in Processors