Prioritisation of code clones using a genetic algorithm

Code clones are prevalent, and due to their diverse impact on projects’ quality they require a proper management strategy. Develop GA-based Refactoring-Aware Detection (RAD) approach for prioritisation of code clones. A genetic algorithm (GA) that balances estimated gain and cost/risk of refactoring...

Full description

Saved in:
Bibliographic Details
Published inInformation and software technology Vol. 170; p. 107443
Main Authors Azadi, Umberto, Walter, Bartosz, Fontana, Francesca Arcelli
Format Journal Article
LanguageEnglish
Published Elsevier B.V 01.06.2024
Subjects
Online AccessGet full text
ISSN0950-5849
1873-6025
DOI10.1016/j.infsof.2024.107443

Cover

More Information
Summary:Code clones are prevalent, and due to their diverse impact on projects’ quality they require a proper management strategy. Develop GA-based Refactoring-Aware Detection (RAD) approach for prioritisation of code clones. A genetic algorithm (GA) that balances estimated gain and cost/risk of refactoring to select the optimal clone candidate to refactor. GA converges on a solution, with diverse variance. The value of fitness function is higher for multi-objective approaches, but they also exhibit higher variance. GA can be effectively applied for clone prioritising.
ISSN:0950-5849
1873-6025
DOI:10.1016/j.infsof.2024.107443