Guidelines for refactoring, meant to improvesoftware systems internal quality and widely acknowledged asone of software best practices, are still qualitative. As a result,the refactoring process is mostly subjective, and consequentlynon-automatable, prone to errors and unrepeatable. An example is the detection of the Long Method code smell. To address this problem, this paper proposes a technique to detectLong Method objectively and automatically, using a Binary Logistic Regression model calibrated by expert's knowledge. The results of an experiment illustrating the use of thistechnique are then reported.
|Title of host publication||International Conference on the Quality of Information and Communications Technology|
|Publication status||Published - 1 Jan 2010|
|Event||International Conference on the Quality of Information and Communications Technology - |
Duration: 1 Jan 2010 → …
|Conference||International Conference on the Quality of Information and Communications Technology|
|Period||1/01/10 → …|