Title :
Class refinement for software evolution
Author :
Ozaki, Hiroyuki ; Gondow, Katsuhiko ; Katayama, Takuya
Author_Institution :
Japan Adv. Inst. of Sci. & Technol., Ishikawa, Japan
Abstract :
We have proposed a theoretical framework for introducing class refinement which is considered to play an important role in evolutionary prototyping in object-oriented languages. Class inheritance is extensively used in OO languages in evolving software by introducing new functions in the class and redefining them. In the redefinition, methods are overridden by their new definitions in its subclasses. However, overriding methods sometimes causes unpredicted effects on the classes, which is known as ´fragile base class problem´. This anomaly has effects on evolving programs as it makes understanding the programs harder. Here, we propose to prohibit method redefinition and, instead, to introduce function refinement, which is based on abstract interpretation. In this refinement, we start with an abstract data domain and methods operating on them. The data domain and methods are refined and become concrete in the course of evolution of programs. We mainly focus on the formalism for class refinement.
Keywords :
formal specification; formal verification; inheritance; object-oriented languages; object-oriented programming; program diagnostics; software prototyping; abstract data domain; abstract interpretation; class inheritance; class refinement; evolutionary prototyping; fragile base class problem; function refinement; object-oriented languages; overriding methods; program evolution; software evolution; Concrete; Conferences; Costs; Java; Large-scale systems; Programming profession; Prototypes; Software prototyping; Software systems;
Conference_Titel :
Software Evolution, 2003. Proceedings. Sixth International Workshop on Principles of
Print_ISBN :
0-7695-1903-2
DOI :
10.1109/IWPSE.2003.1231209