TY - GEN
T1 - The use of development history in software refactoring using a multi-objective evolutionary algorithm
AU - Ouni, Ali
AU - Kessentini, Marouane
AU - Sahraoui, Houari
AU - Hamdi, Mohamed Salah
PY - 2013
Y1 - 2013
N2 - One of the widely used techniques for evolving software systems is refactoring, a maintenance activity that improves design structure while preserving the external behavior. Exploring past maintenance and development history can be an effective way of finding refactoring opportunities. Code elements which undergo changes in the past, at approximately the same time, bear a good probability for being semantically related. Moreover, these elements that experienced a huge number of refactoring in the past have a good chance for refactoring in the future. In addition, the development history can be used to propose new refactoring solutions in similar contexts. In this paper, we propose a multi-objective optimization-based approach to find the best sequence of refactorings that minimizes the number of bad-smells, and maximizes the use of development history and semantic coherence. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best trade-off between these three objectives. We report the results of our experiments using different large open source projects.
AB - One of the widely used techniques for evolving software systems is refactoring, a maintenance activity that improves design structure while preserving the external behavior. Exploring past maintenance and development history can be an effective way of finding refactoring opportunities. Code elements which undergo changes in the past, at approximately the same time, bear a good probability for being semantically related. Moreover, these elements that experienced a huge number of refactoring in the past have a good chance for refactoring in the future. In addition, the development history can be used to propose new refactoring solutions in similar contexts. In this paper, we propose a multi-objective optimization-based approach to find the best sequence of refactorings that minimizes the number of bad-smells, and maximizes the use of development history and semantic coherence. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best trade-off between these three objectives. We report the results of our experiments using different large open source projects.
KW - Code change
KW - Design defects
KW - Refactoring
KW - Search-based software engineering
KW - Semantics
UR - https://www.scopus.com/pages/publications/84883125873
U2 - 10.1145/2463372.2463554
DO - 10.1145/2463372.2463554
M3 - Contribution to conference proceedings
AN - SCOPUS:84883125873
SN - 9781450319638
T3 - GECCO 2013 - Proceedings of the 2013 Genetic and Evolutionary Computation Conference
SP - 1461
EP - 1468
BT - GECCO 2013 - Proceedings of the 2013 Genetic and Evolutionary Computation Conference
T2 - 2013 15th Genetic and Evolutionary Computation Conference, GECCO 2013
Y2 - 6 July 2013 through 10 July 2013
ER -