Context: Code clones are prevalent, and due to their diverse impact on projects’ quality they require a proper management strategy. Objectives: Develop GA-based Refactoring-Aware Detection (RAD) approach for prioritisation of code clones. Method: A genetic algorithm (GA) that balances estimated gain and cost/risk of refactoring to select the optimal clone candidate to refactor. Results: 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. Conclusion: GA can be effectively applied for clone prioritising.
Azadi, U., Walter, B., Fontana, F. (2024). Prioritisation of code clones using a genetic algorithm. INFORMATION AND SOFTWARE TECHNOLOGY, 170(June 2024) [10.1016/j.infsof.2024.107443].
Prioritisation of code clones using a genetic algorithm
Azadi, Umberto;Fontana, Francesca Arcelli
2024
Abstract
Context: Code clones are prevalent, and due to their diverse impact on projects’ quality they require a proper management strategy. Objectives: Develop GA-based Refactoring-Aware Detection (RAD) approach for prioritisation of code clones. Method: A genetic algorithm (GA) that balances estimated gain and cost/risk of refactoring to select the optimal clone candidate to refactor. Results: 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. Conclusion: GA can be effectively applied for clone prioritising.File | Dimensione | Formato | |
---|---|---|---|
Arcelli-2024-IST-VoR.pdf
Solo gestori archivio
Descrizione: articolo a rivista
Tipologia di allegato:
Publisher’s Version (Version of Record, VoR)
Licenza:
Tutti i diritti riservati
Dimensione
1.31 MB
Formato
Adobe PDF
|
1.31 MB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.