TY - GEN
T1 - A context-based refactoring recommendation approach using simulated annealing
T2 - 2017 Genetic and Evolutionary Computation Conference, GECCO 2017
AU - Kessentini, Marouane
AU - Dea, Troh Josselin
AU - Ouni, Ali
N1 - Publisher Copyright:
© 2017 ACM.
PY - 2017/7/1
Y1 - 2017/7/1
N2 - Refactoring is a highly valuable solution to reduce and manage the growing complexity of software systems. However, programmers are "opportunistic" when they apply refactorings since most of them are interested in improving the quality of the code fragments that they frequently update or those related to the planned activities for the next release (fixing bugs, adding new functionalities, etc.). In this paper, we describe a search based approach to recommend refactorings based on the analysis of the history of changes to maximize the recommended refactorings for recently modified classes, classes containing incomplete refactorings detected in previous releases, and buggy classes identified in the history of previous bug reports. The obtained results on two industrial projects show significant improvements of the relevance of recommended refactorings, as evaluated by the original developers of the systems.
AB - Refactoring is a highly valuable solution to reduce and manage the growing complexity of software systems. However, programmers are "opportunistic" when they apply refactorings since most of them are interested in improving the quality of the code fragments that they frequently update or those related to the planned activities for the next release (fixing bugs, adding new functionalities, etc.). In this paper, we describe a search based approach to recommend refactorings based on the analysis of the history of changes to maximize the recommended refactorings for recently modified classes, classes containing incomplete refactorings detected in previous releases, and buggy classes identified in the history of previous bug reports. The obtained results on two industrial projects show significant improvements of the relevance of recommended refactorings, as evaluated by the original developers of the systems.
KW - Refactoring
KW - Search based software engineering
KW - Software quality
UR - https://www.scopus.com/pages/publications/85026351243
U2 - 10.1145/3071178.307l334
DO - 10.1145/3071178.307l334
M3 - Contribution to conference proceedings
AN - SCOPUS:85026351243
T3 - GECCO 2017 - Proceedings of the 2017 Genetic and Evolutionary Computation Conference
SP - 1303
EP - 1310
BT - GECCO 2017 - Proceedings of the 2017 Genetic and Evolutionary Computation Conference
PB - Association for Computing Machinery, Inc
Y2 - 15 July 2017 through 19 July 2017
ER -