loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
11th European Conference on Software Maintenance and Reengineering (CSMR'07)
Example-Driven Reconstruction of Software Models
Amsterdam, the Netherlands
March 21-March 23
ISBN: 0-7695-2802-3
Oscar Nierstrasz, University of Bern
Markus Kobel, University of Bern
Tudor Girba, University of Bern
Michele Lanza, University of Lugano
Horst Bunke, University of Bern
As software systems evolve, they become more complex and harder to understand and maintain. Certain reverse engineering techniques attempt to reconstruct software models from source code with the help of a parser for the source language. Unfortunately a great deal of effort may be required to build a specialized parser for a legacy programming language or dialect. On the other hand, (i) we typically do not need a complete parser that recognizes all language constructs, and (ii) we have a rich supply of (legacy) examples. We present an approach to use these facts to rapidly and incrementally develop parsers as follows: we specify mappings from source code examples to model elements; we use the mappings to generate a parser; we parse as much code as we can; we use the exceptional cases to develop new example mappings; and we iterate. Experiments with Java and Ruby, two very different languages, suggest that our approach can be a very efficient and effective way to rapidly construct software models from legacy code.
Citation:
Oscar Nierstrasz, Markus Kobel, Tudor Girba, Michele Lanza, Horst Bunke, "Example-Driven Reconstruction of Software Models," csmr, pp.275-286, 11th European Conference on Software Maintenance and Reengineering (CSMR'07), 2007
Usage of this product signifies your acceptance of the Terms of Use.