Academic Journals Database
Disseminating quality controlled scientific knowledge

A Model to Compare the Degree of Refactoring Opportunities of Three Projects Using A Machine Algorithm

ADD TO MY LIST
 
Author(s): Gauri Khurana | Sonika Jindal

Journal: Advanced Computing : an International Journal
ISSN 2229-726X

Volume: 4;
Issue: 3;
Start page: 17;
Date: 2013;
VIEW PDF   PDF DOWNLOAD PDF   Download PDF Original page

Keywords: Refactoring | Refactoring Opportunities | Source-code metrics | UML diagrams | Ordinal scale | Weka

ABSTRACT
Refactoring is applied to the software artifacts so as to improve its internal structure, while preserving itsexternal behavior. Refactoring is an uncertain process and it is difficult to give some units formeasurement. The amount to refactoring that can be applied to the source-code depends upon the skills ofthe developer. In this research, we have perceived refactoring as a quantified object on an ordinal scale ofmeasurement. We have a proposed a model for determining the degree of refactoring opportunities in thegiven source-code. The model is applied on the three projects collected from a company. UML diagramsare drawn for each project. The values for source-code metrics, that are useful in determining the quality ofcode, are calculated for each UML of the projects. Based on the nominal values of metrics, each relevantUML is represented on an ordinal scale. A machine learning tool, weka, is used to analyze the dataset,imported in the form of arff file, produced by the three projects.
RPA Switzerland

RPA Switzerland

Robotic process automation

    

Tango Rapperswil
Tango Rapperswil