Download presentation

Presentation is loading. Please wait.

Published byXavier Baird Modified over 3 years ago

1
Refactoring via Program Slicing and Sliding Ran Ettinger Programming Tools Group University of Oxford In Panayas Reading Group 2 November, 2006

2
Are the two programs equivalent? ?=

3
Refactoring enables iterative and incremental software development

4
The gap: Refactoring tools are important but weak

5
Example: Fowlers video-store

10
Programmers use slices when refactoring

11
Challenge: Automatic slice-extraction Approach: Program Sliding

12
Sliding 1: statement-duplication

13
Rule of statement-duplication

14
Sliding 2: slicing on both sides

15
Sliding 2: a refinement rule

16
Example of over-duplication

17
Solution (sliding 3): final-use substitution

18
Sliding 3: statement-duplication with final-use substitution

19
Sliding 4: Slicing after final-use substitution

20
Sliding 4: a refinement rule

21
Sliding 5: compensation-free sliding

22
Sliding 5: a refinement rule

23
Potential implications of slides and sliding: Refactoring and beyond

24
Thanks!

Similar presentations

OK

EXAMPLE 6 Solve a rational equation given a function From 1995 through 2003, the annual sales S (in billions of dollars) of entertainment software can.

EXAMPLE 6 Solve a rational equation given a function From 1995 through 2003, the annual sales S (in billions of dollars) of entertainment software can.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Download ppt on 3d printing technology Ppt on rational numbers Ppt on electrical power transmission system Ppt on ibm company profile Ppt on gulliver's travels part 1 Ppt on dance forms of india Ppt on varactor diode equation Gastrointestinal tract anatomy and physiology ppt on cells Projector view ppt on ipad Ppt online compressor sales