A Genetic Algorithm for Automated Refactoring of Component-Based Software

Authors

DOI:

https://doi.org/10.4108/eai.3-12-2015.2262353

Keywords:

genetic algorithm, refactoring, component-based software engineering, bad smells

Abstract

Nowadays a software undergoes modifications done by different people to quickly fulfill new requirements, but its underlying design is not adjusted properly after each update. This leads to the emergence of bad smells. Refactoring provides a de facto behavior-preserving means to eliminate these anomalies. However, manually determining and performing useful refactorings is known as an NP-Complete problem as stated by Harman et al. because seemingly useful refactorings can improve some aspect of a software while making another aspect worse. Therefore it has been proposed to view object-oriented automated refactoring as a search based technique. However the review of the litterature shows that automated refactoring of component-based software has not been investigated yet. Recently a catalogue of component-relevant bad smells has been proposed in the literature but there is a lack of component-relevant refactorings. In this paper we propose a catalogue of component-relevant refactoring as well as detections rules for component-relevant bad smells. Then we rely on these two ingredients to propose a genetic algorithm for automated refactoring of component-based software systems.

Downloads

Published

24-05-2016

How to Cite

1.
Kebir S, Borne I, Meslati D. A Genetic Algorithm for Automated Refactoring of Component-Based Software. EAI Endorsed Trans Creat Tech [Internet]. 2016 May 24 [cited 2024 May 1];3(9):e2. Available from: https://publications.eai.eu/index.php/ct/article/view/1540