Skip to main navigation Skip to search Skip to main content

Discovering Reusable Functional Features in Legacy Object-Oriented Systems

  • Université du Québec à Montréal
  • Informatique
  • Concordia University

Research output: Contribution to journal › Journal Article › peer-review

3 Citations (Scopus)

Abstract

Typical object-oriented (OO) systems implement several functional features that are interwoven into class hierarchies. In the absence of aspect-oriented techniques to develop and compose these features, developers resort to object-oriented design and programming idioms to separate features as well as possible. Given a legacy OO system, discovering existing functional features helps understand the design of the system and extract these features to ease their maintenance and reuse. We want to discover candidate functional features in OO systems. We first define functional features and then discuss the footprints that such features are likely to leave in an OO system. We identify three such footprints: (1) multiple inheritance, (2) delegation, and (3) ad-hoc. We develop a set of algorithms for identifying such footprints in OO code and implemented them for the Java language using Eclipse JDT. In this article, we present the algorithms, and the results of applying the corresponding tools on five open-source systems: FreeMind, JavaWebMail, JHotDraw, JReversePro, and Lucene. Our experimental results show that: (1) the different algorithms can identify interesting and useful candidate functional features in OO systems, (2) they can identify opportunities for refactoring, and (3) they are complementary and could help developers.

Original languageEnglish
Pages (from-to)3827-3856
Number of pages30
JournalIEEE Transactions on Software Engineering
Volume49
Issue number7
DOIs
Publication statusPublished - 1 Jul 2023

Keywords

  • Delegation
  • feature discovery
  • formal concept analysis
  • functional feature
  • multiple inheritance

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Discovering Reusable Functional Features in Legacy Object-Oriented Systems'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this