A Descriptor-Based Approach to OO Code Reuse

  • Authors:
  • Ernesto Damiani;Maria Grazia Fugini;Enrico Fusaschi

  • Affiliations:
  • -;-;-

  • Venue:
  • Computer
  • Year:
  • 1997

Quantified Score

Hi-index 4.10

Visualization

Abstract

The COOR environment (Classification of Object-Oriented Code for Reuse) is based on an abstraction method that represents code behavior in terms of software descriptors. Descriptors constitute a classification and retrieval unit and are constructed from source code and other documentation as lists of term pairs, called features, that describe component functionalities. The protocol for efficiently extracting features from OO code interfaces assumes that methods have consistent and coherent names with respect to the concepts they represent. COOR extracts features from code semiautomatically, because it is not feasible to completely automate the information-extraction process (the process of deriving higher abstractions from lower ones). In our approach, a human expert, or application engineer, maintains the system for an audience of users, or application developers. COOR provides tools for the classification and search for reuse candidates. Our experience with COOR suggests that descriptors can provide several advantages over class interfaces. COOR descriptors support different levels of component classification granularity (like application frameworks rather than single classes). Moreover, in COOR, component behavior description is enhanced due to filtering out linguistic noise by means of a controlled vocabulary.