Several kinds of smells have been defined in the literature, but no formal definition exists. Hence, the code smells detection tools provide different results, because the smells can be interpreted and detected in different ways. Moreover, other aspects related to the domain of the system under analysis, or its size and other design features are not usually taken into account. For these reasons the detected smells may not always be real smells and symptoms of problems to be solved. In this paper we address this question on the evaluation of smells. We focus our attention on the detection of two smells, God Class and Data Class on different systems, with the aim to identify possible filters to be used to improve or refine the detection rules of these smells. By identifying only real smells, the refactoring effort to inspect and remove them is reduced.
ARCELLI FONTANA, F., Ferme, V., Marino, A. (2013). Is it a Real Code Smell to be Removed or not?. Intervento presentato a: RefTest2013 – International Workshop on Refactoring & Testing, Vienna, Austria.
Is it a Real Code Smell to be Removed or not?
ARCELLI FONTANA, FRANCESCA;
2013
Abstract
Several kinds of smells have been defined in the literature, but no formal definition exists. Hence, the code smells detection tools provide different results, because the smells can be interpreted and detected in different ways. Moreover, other aspects related to the domain of the system under analysis, or its size and other design features are not usually taken into account. For these reasons the detected smells may not always be real smells and symptoms of problems to be solved. In this paper we address this question on the evaluation of smells. We focus our attention on the detection of two smells, God Class and Data Class on different systems, with the aim to identify possible filters to be used to improve or refine the detection rules of these smells. By identifying only real smells, the refactoring effort to inspect and remove them is reduced.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.