arrow
返回

Discovering Reusable Functional Features in Legacy Object-Oriented Systems

delete2023-07-01
delete1
PRE
AI
H
Hafedh Mili
I
Imen Benzarti
A
Amel Elkharraz
E
Elboussaidi, Ghizlane
Y
Yann‐Gaël Guéhéneuc *
P
Petko Valtchev
DOI:10.1109/TSE.2023.3272631delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Delegation
feature discovery
formal concept analysis
functional feature
multiple inheritance

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

C
concordia university - canada
学者数:
8.0K
论文数: 8.9K
被引数: 4
E
ecole de technologie superieure - canada
学者数:
1.5K
论文数: 1.6K
被引数: 1
U
university of quebec
学者数:
2.0W
论文数: 1.9W
被引数: 19
U
university of quebec montreal
学者数:
3.9K
论文数: 3.5K
被引数: 7
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Improving feature location using structural similarity and iterative graph mapping
err2013-03-01
err18
errOAAI
errPeng, Xin; Xing, Zhenchang; Tan, Xi; Yu, Yijun; Zhao, Wenyun
err分享
err收藏
err分享
err收藏
err分享
err收藏
1. Indigenous Tourism in the Arctic
err2017-12-31
err0
PREAI
errDieter K. Müller; Arvid Viken
err分享
err收藏
Color of Light Reflected to Leaves Modifies Nutrient Content of Carrot Roots
err2002-07-01
err0
PREAI
errGeorge F. Antonious; Michael J. Kasperbauer
err分享
err收藏
学者 查看更多内容