Version control thesis
Upcoming SlideShare
Loading in...5
×
 

Version control thesis

on

  • 938 views

this is the thesis presentation of my master degree in 31-12-2009

this is the thesis presentation of my master degree in 31-12-2009

Statistics

Views

Total Views
938
Views on SlideShare
938
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Version control thesis Version control thesis Presentation Transcript

  • Version Control By Researcher: Waleed Mohamed Mahmoud Al-Adrousy Computer Science Department, Faculty of computers and Information Systems Mansoura University Dr-Samir El-Desouky El-Mougy Dr-Ahmed Abou El-Fetouh Saleh Computer Science Department, Information System Department, Faculty of computers and Information Systems Faculty of computers and Information Systems Mansoura university Mansoura university
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 2
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 3
  • Version Control Definition ● Network based system ● Controls access to computer files ● Track modifications for current and back-up files ● Tracks History. ● Synchronizes Concurrent Access to files. 4
  • How Version Control work? 5
  • Without Version Control 6
  • With version control (Lock-Modify-Unlock) Model 7
  • With version Control (Copy-Modify-Merge) Model 8
  • (Copy-Modify-Merge) Model (Cont.) 9
  • Version Control Types 10
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 11
  • Objectives ● Part 1 – Better load balancing based on behavior analysis. – Optimization of synchronization process. – Dynamic clustering of work. – Compromise centralized and distributed models. ● Part 2 – Grammar based difference calculation. – Difference computation speed. – Adding on-line support for syntax differencing. – Application on java language. 12
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 13
  • Previous works Technologies: ● File Sharing Protocols: – FTP ● File Synchronization Protocols – WebDav – DeltaV – RSync Algorithm – IP-RSync ● Basically need Network protocol level support 14
  • Previous Work (Continue) ● Dick Grune in 1986 (CVS) ● CollabNet Inc in 2000 (subversion) ● Peer to peer (P2P) technolgies in late 1990s 15
  • Previous Work (Cont.) ● Language Modeling is : internal source code representation for processing ● Some famous language modeling techniques: Famix Model XML representation standard of java source code JavaML standard 16
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 17
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 18
  • First Part Semi Distributed Version Control Using Web Data Mining 19
  • Part 1 Objectives ● Better load balancing based on behavior analysis. ● Optimization of synchronization process. ● Dynamic clustering of work. ● Getting both advantages of centralized and distributed models. 20
  • Suggested Architecture 21
  • Case Study 22
  • Web Data Mining ● Definition... ● 3 Types of Algorithms: – Centrality and Closeness – Ranking – Clustering 23
  • Graph ● Definition: a set of vertices and a set of edges . Edges are specified as a pair, (v1, v2), where v1 and v2 are two vertices in the graph. A vertex can also have a weight, sometimes also called a cost. ● Types – Directed → like project dependencies – Undirected → like communication between developers 24
  • Simple Clustering Algorithm 25
  • Simple Clustering Algorithm(Cont.) 26
  • Structured Similarity Algorithm 27
  • Structured Similarity Algorithm (Cont.) 28
  • Semi-Distributed Architecture Algorithm 29
  • 30
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 31
  • Second Part Structured Differencing For Web Based Version Control 32
  • Existing Differencing Algorithms Comparison Line Based Structure Based Example LCS DiffX, Xdiff and Xydiff Comparison unit Line Structure Implementation Difficulty Easy Hard Dealing with logical nature of code that consists of Deals with it Ignores it (classes, methods, (helpful for developers) objects,...etc) 33
  • Part 2 Objectives ● Adding grammar based difference calculation. ● Enhancing difference computation speed. ● Adding on-line support for syntax differencing. ● Application on java language. 34
  • Abstract Syntax Tree (AST) ● Important for parsers to model source code as structure instead of plain text/lines ● Many parser generators for java , ANTLR is chosen 35
  • XML Standard ● Known Structured data representation format. ● Used widely for interoperability ● Used in many protocols in Internet and web services. 36
  • Convert AST to XML 37
  • Differencing ● Changes can be: – ADD – Delete – Modify – Move 38
  • Syntax aware Differencing Algorithm 39
  • Syntax aware Differencing Algorithm (Cont.) 40
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 41
  • Simulation Results ● Two Subsystems are simulated – Semi-structured version control JfreeChart, Jung,MyJTable, and Piccolo Tools – Syntax Aware Diff For Web Based Version Control Systems AJAX, GWT, XML, ANTLR, JDOM, XML unit and java servlets ● Note : the following results are based on custom simulation not real-life data according to limitation of human team to apply tests . 42
  • Part 1 Results 43
  • 44
  • 45
  • 46
  • 47
  • Part 2 Results 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • Agenda ● Version Control introduction ● Objectives ● Previous work ● Applied Algorithms and Technologies: – Suggested load balancing architecture – Suggested Differencing Algorithm ● Testing results. ● Future work 55
  • Future work 56
  • Part 1 Future work (for our semi-distributed proposed algorithm) ● Making a real-world case study. ● Integration with coding Environment- IDE. ● Considering some aspects like security and backup. ● Testing in many network platforms on heterogeneous devices. 57
  • Part 2 Future work (Syntax-Aware Differencing) ● Merge the semi-distributed algorithm with differencing algorithm. ● Reduce the long representation of short Java source code. ● Enhance the readability of the differencing results. ● Integrate with an existing IDE ● Enhance the Visualization of Graphical user Interface (GUI) of the web tool. ● Enhance the used model of asynchronous web page design (Rich Online IDE). ● Develop as a web service. ● Port this algorithm to other languages rather than Java by replacing the modeling part to read the other language grammar. 58
  • Word For History 59
  • Thanks 60