The Community for Technology Leaders
2012 Eighth International Conference on the Quality of Information and Communications Technology (2010)
Porto, Portugal
Sept. 29, 2010 to Oct. 2, 2010
ISBN: 978-0-7695-4241-6
pp: 337-342
ABSTRACT
Guidelines for refactoring are meant to improve software systems internal quality and are widely acknowledged as among software’s best practices. However, such guidelines remain mostly qualitative in nature. As a result, judgments on how to conduct refactoring processes remain mostly subjective and therefore non-automatable, prone to errors and unrepeatable. The detection of the Long Method code smell is an example. To address this problem, this paper proposes a technique to detect Long Method objectively and automatically, using a Binary Logistic Regression model calibrated by expert’s knowledge. The results of an experiment illustrating the use of this technique are reported.
INDEX TERMS
Refactoring Process, Code Smells, Long Method, Binary Logistic Regression
CITATION
Fernando Brito e Abreu, Miguel Monteiro, Sérgio Bryton, "Reducing Subjectivity in Code Smells Detection: Experimenting with the Long Method", 2012 Eighth International Conference on the Quality of Information and Communications Technology, vol. 00, no. , pp. 337-342, 2010, doi:10.1109/QUATIC.2010.60
90 ms
(Ver 3.3 (11022016))