loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Conference on Software Maintenance and Reengineering
Towards a Quantitative Assessment of Method Replacement
Zurich, Switzerland
February 29-March 03
ISBN: 0-7695-0546-5
Rudolf K. Keller, Universit? de Montr?al
Reinhard Schauer, Universit? de Montr?al
Object-oriented programming is about the creation of reusable classes that are to be extended to capture the specific requirements of the application at hand. However, instead of extending the methods of these classes, programmers often introduce subclasses in which they replace methods with new implementations that are completely detached from the superclass; that is, the subclass method does not invoke, directly or indirectly, its counterpart in the superclass.In this paper, we apply the SPOOL environment to the reverse-engineered C++ source code of the ET++ application framework to investigate the occurrences and causes for method replacements. To this end, we define a method replacement indicator (MRI) that quantifies the extent of method replacements. Based on the data obtained in our case study, we identify and discuss the ten causes why programmers replace non-primitive method implementations of reusable classes.
Index Terms:
Replaced method, software comprehension, software maintenance, object-oriented programming
Citation:
Rudolf K. Keller, Reinhard Schauer, "Towards a Quantitative Assessment of Method Replacement," csmr, pp.141, Conference on Software Maintenance and Reengineering, 2000
Usage of this product signifies your acceptance of the Terms of Use.