Engrossing Prosecution of Code Smells Type Identification and Rectification using Machine Learning AdaBoost Classifier
M. Sangeetha1, C. Chandrasekar2
1M. Sangeetha*, Ph. D Research scholar, Department of computer science, Periyar University, Salem, India.
2Dr. C. Chandrasekar, Professor, Department of Computer Science, Periyar University ,Salem, India.
Manuscript received on January 15, 2020. | Revised Manuscript received on January 22, 2020. | Manuscript published on February 10, 2020. | PP: 624-631 | Volume-9 Issue-4, February 2020. | Retrieval Number: D1331029420/2020©BEIESP | DOI: 10.35940/ijitee.D1331.029420
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
Abstract: Software code smells are the structural features which reside in a software source code. Code smell detection is an established method to discover the problems in source code and reorganize the inner structure of object-oriented software for improving the quality of such software, particularly in terms of maintainability, reusability and cost minimization. The developer identified where the code smell is identified and rectified within a system is a major challenging issue. The various code smell detection technique has been designed but it failed to classify the code type and minimum rectification cost. In order to perform classification with minimum cost, an efficient technique called Machine Learning Ada-Boost Classifier (MLABC) technique is introduced. The MLABC technique improves the software quality by identifying and rectifying the different types of software code smell in source code. Initially, MLABC technique uses decision tree as base classifier to identify the code smell type. The decision tree is used to classify the code smell type based on the certain rule. After that, the base classifiers are combined to make a strong classifier using adaboost machine learning technique. The output of strong classifier is used to identify the code smell type. Finally, the code smell type rectification is performed by applying the refactoring technique where the code smell is identified with minimum cost and space complexity. Experimental results shows that the proposed MLABC technique improves the software code quality in terms of code smell type identification accuracy, false positive rate, code smell type rectification cost and space complexity with the source code.
Keywords: Cross-cultural Projects, Human-computer Interface, Learning Communities, Code Smell type Identification, Code Smell Type Rectification.
Scope of the Article: Machine Learning