Code duplication is considered a widespread code smell, a symptom of bad code development practices or potential design issues. Code smells are also considered to be indicators of poor software maintainability. The refactoring cost associated with removing code clones can be very high, partly because of the number of different decisions that must be made regarding the kind of refactoring steps to apply. Here, we describe a tool that has been developed to suggest the best refactoring steps that could be taken to remove clones in Java code. Our approach is based on the classification of clones, in terms of their location in a class hierarchy, so that decisions can be made from a restricted set of refactorings that have been evaluated using multiple criteria

ARCELLI FONTANA, F., Zanoni, M., Zanoni, F. (2014). A Refactoring Suggestion Tool for removing Clones in Java Code. ERCIM NEWS, 99, 25-25.

A Refactoring Suggestion Tool for removing Clones in Java Code

ARCELLI FONTANA, FRANCESCA
Primo
;
ZANONI, MARCO
Secondo
;
2014

Abstract

Code duplication is considered a widespread code smell, a symptom of bad code development practices or potential design issues. Code smells are also considered to be indicators of poor software maintainability. The refactoring cost associated with removing code clones can be very high, partly because of the number of different decisions that must be made regarding the kind of refactoring steps to apply. Here, we describe a tool that has been developed to suggest the best refactoring steps that could be taken to remove clones in Java code. Our approach is based on the classification of clones, in terms of their location in a class hierarchy, so that decisions can be made from a restricted set of refactorings that have been evaluated using multiple criteria
Articolo in rivista - Articolo scientifico
code duplication; refactoring suggestions
English
2014
99
25
25
none
ARCELLI FONTANA, F., Zanoni, M., Zanoni, F. (2014). A Refactoring Suggestion Tool for removing Clones in Java Code. ERCIM NEWS, 99, 25-25.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/57473
Citazioni
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
Social impact