arrow
Return

Prioritisation of code clones using a genetic algorithm

delete2024-06-01
delete0
PRE
AI
U
Umberto Azadi
B
Bartosz Walter *
F
Francesca Arcelli Fontana
DOI:10.1016/j.infsof.2024.107443delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
Code duplicates
Code clones
Genetic algorithm
Clone refactoring
Clone prioritisation

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.7K
Citations:
7.7K

Organization

P
Poznan University of Technology
Scholars:
4.4K
Papers: 4.1K
Citations: 3
U
university of milano-bicocca
Scholars:
2.0W
Papers: 1.5W
Citations: 22