@article { author = {Ali Reshi, Junaid and Singh, Satwinder}, title = {Investigating the Role of Code Smells in Preventive Maintenance}, journal = {Journal of Information Technology Management}, volume = {10}, number = {4}, pages = {41-63}, year = {2018}, publisher = {Faculty of Management, University of Tehran}, issn = {2980-7972}, eissn = {2980-7972}, doi = {10.22059/jitm.2019.274968.2335}, abstract = {The quest for improving the software quality has given rise to various studies which focus on the enhancement of the quality of software through various processes. Code smells, which are indicators of the software quality have not been put to an extensive study for as to determine their role in the prediction of defects in the software. This study aims to investigate the role of code smells in prediction of non-faulty classes. We examine the Eclipse software with four versions (3.2, 3.3, 3.6, and 3.7) for metrics and smells. Further, different code smells, derived subjectively through iPlasma, are taken into conjugation and three efficient, but subjective models are developed to detect code smells on each of Random Forest, J48 and SVM machine learning algorithms. This model is then used to detect the absence of defects in the four Eclipse versions. The effect of balanced and unbalanced datasets is also examined for these four versions. The results suggest that the code smells can be a valuable feature in discriminating absence of defects in a software.}, keywords = {Preventive maintenance,Code smells,Machine learning,Random forest}, url = {https://jitm.ut.ac.ir/article_72760.html}, eprint = {https://jitm.ut.ac.ir/article_72760_08e4a5599636c1e62e341c1d67adff80.pdf} }