Automatic Refactoring of Component-based Software by Detecting and Eliminating Bad Smells - A Search-based Approach

Salim Kebir, Isabelle Borne, Djamel Meslati

2016

Abstract

Refactoring has been proposed as a de facto behavior-preserving mean to eliminate bad smells. However manually determining and performing useful refactorings is a though challenge 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. Nevertheless the review of the literature 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 detection rules for component-relevant bad smells as well as a catalogue of component-relevant refactorings. Then we rely on these two elements to propose a search-based approach for automated refactoring of component-based software systems by detecting and eliminating bad smells. Finally, we experiment our approach on a medium-sized component-based software and we assess the efficieny and accuracy of our approach.

Download


Paper Citation


in Harvard Style

Kebir S., Borne I. and Meslati D. (2016). Automatic Refactoring of Component-based Software by Detecting and Eliminating Bad Smells - A Search-based Approach . In Proceedings of the 11th International Conference on Evaluation of Novel Software Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-189-2, pages 210-215. DOI: 10.5220/0005891602100215

in Bibtex Style

@conference{enase16,
author={Salim Kebir and Isabelle Borne and Djamel Meslati},
title={Automatic Refactoring of Component-based Software by Detecting and Eliminating Bad Smells - A Search-based Approach},
booktitle={Proceedings of the 11th International Conference on Evaluation of Novel Software Approaches to Software Engineering - Volume 1: ENASE,},
year={2016},
pages={210-215},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005891602100215},
isbn={978-989-758-189-2},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 11th International Conference on Evaluation of Novel Software Approaches to Software Engineering - Volume 1: ENASE,
TI - Automatic Refactoring of Component-based Software by Detecting and Eliminating Bad Smells - A Search-based Approach
SN - 978-989-758-189-2
AU - Kebir S.
AU - Borne I.
AU - Meslati D.
PY - 2016
SP - 210
EP - 215
DO - 10.5220/0005891602100215