skip to main content
Department of Computer Science University of Colorado Boulder
cu: home | engineering | mycuinfo | about | cu a-z | search cu | contact cu cs: about | calendar | directory | catalog | schedules | mobile | contact cs
home · events · thesis defenses · 2009-2010 · 

Thesis Defense - Reichenbach

ECOT 831

Program Metamorphosis
Computer Science PhD Candidate

Modern approaches to software development emphasise that developers should treat change to existing code as a fundamental component of program development. However, the increasing complexity of modern programming languages and software systems makes it harder and harder for developers to understand the global effect of their local changes.

Existing approaches to support programmers in program evolution have largely limited themselves to highly specific forms of behaviour-preserving one-step changes, or refactoring. However, we argue that it is possible to give programmers more powerful tools that not only aid in a greater variety of software evolution tasks but are also more transparent to use.

In this work, we present program metamorphosis, a technique for flexible program transformation with a safety net. In our approach, programmers can perform almost free-form changes to their changes, while a program analysis framework gauges the semantic impact of the sum of all changes and visualises behavioural changes to guide the program evolution process with minimal intrusion. Users can then choose which behavioural changes they are comfortable with and which they wish to revert.

Our experiments over three program metamorphosis prototypes show that our approach is a viable contender for traditional refactoring work, for behaviour evolution, and for algorithmic optimisation, all within the same framework. For refactoring, we show that a program metamorphosis tool can provide state-of-the-art safety guarantees as well as support for refactorings that elude traditional refactoring tools, whereas for algorithmic optimisation we illustrate that our mechanisms can facilitate complex datatype and algorithm replacements without costly context-sensitive analyses.

Committee: Amer Diwan, Associate Professor (Chair)
Bor-Yuh Evan Chang, Assistant Professor
Jeremy Siek, Department of Electrical and Computer Engineering
Kenneth Anderson, Associate Professor
James Martin, Professor

See also:
Department of Computer Science
College of Engineering and Applied Science
University of Colorado Boulder
Boulder, CO 80309-0430 USA
Send email to

Engineering Center Office Tower
ECOT 717
FAX +1-303-492-2844
XHTML 1.0/CSS2 ©2012 Regents of the University of Colorado
Privacy · Legal · Trademarks
May 5, 2012 (13:40)