• DocumentCode
    2036268
  • Title

    The method replacement indicator: a metric for analyzing behavioral substitution

  • Author

    Schauer, Reinhard ; Keller, Rudolf K.

  • Author_Institution
    Dept. d´´Inf. et de Recherche Oper., Montreal Univ., Que., Canada
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    754
  • Lastpage
    763
  • Abstract
    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 these methods with 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 two industrial systems to investigate the occurrences and causes for method replacements, both at the method and at the class level. We define the method replacement indicator (MRI), which quantifies the extent of method replacements. Based on the data obtained in the analysis, we identify and discuss the causes why programmers replace non-primitive method implementations of reusable classes
  • Keywords
    object-oriented programming; reverse engineering; software metrics; software reusability; method replacement indicator; object-oriented programming; reusable classes; reverse engineering; software comprehension; software maintenance; Data mining; Magnetic resonance imaging; Object oriented modeling; Programmable logic arrays; Programming profession; Software design; System testing; Telecommunications;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2001. Proceedings. IEEE International Conference on
  • Conference_Location
    Florence
  • ISSN
    1063-6773
  • Print_ISBN
    0-7695-1189-9
  • Type

    conf

  • DOI
    10.1109/ICSM.2001.972796
  • Filename
    972796