Prioritizing the refactoring need for critical component using combined approach

One of the most promising strategies that will smooth out the maintainability issues of the software is refactoring. Due to lack of proper design approach, the code often inherits some bad smells which may lead to improper functioning of the code, especially when it is subject to change and requires...

Full description

Bibliographic Details
Main Authors: Rajni Sehgal, Deepti Mehrotra, Manju Bala
Format: Article
Language:English
Published: Growing Science 2018-10-01
Series:Decision Science Letters
Subjects:
Online Access:http://www.growingscience.com/dsl/Vol7/dsl_2017_30.pdf
_version_ 1811232461639647232
author Rajni Sehgal
Deepti Mehrotra
Manju Bala
author_facet Rajni Sehgal
Deepti Mehrotra
Manju Bala
author_sort Rajni Sehgal
collection DOAJ
description One of the most promising strategies that will smooth out the maintainability issues of the software is refactoring. Due to lack of proper design approach, the code often inherits some bad smells which may lead to improper functioning of the code, especially when it is subject to change and requires some maintenance. A lot of studies have been performed to optimize the refactoring strategy which is also a very expensive process. In this paper, a component based system is considered, and a Fuzzy Multi Criteria Decision Making (FMCDM) model is proposed by combining subjective and objective weights to rank the components as per their urgency of refactoring. Jdeodorant tool is used to detect the code smells from the individual components of a software system. The objective method uses the Entropy approach to rank the component having the code smell. The subjective method uses the Fuzzy TOPSIS approach based on decision makers’ judgement, to identify the critically and dependency of these code smells on the overall software. The suggested approach is implemented on component-based software having 15 components. The constitute components are ranked based on refactoring requirements.
first_indexed 2024-04-12T11:04:14Z
format Article
id doaj.art-23d4e89d145d4d69839007cc621b4326
institution Directory Open Access Journal
issn 1929-5804
1929-5812
language English
last_indexed 2024-04-12T11:04:14Z
publishDate 2018-10-01
publisher Growing Science
record_format Article
series Decision Science Letters
spelling doaj.art-23d4e89d145d4d69839007cc621b43262022-12-22T03:35:51ZengGrowing ScienceDecision Science Letters1929-58041929-58122018-10-017325727210.5267/j.dsl.2017.8.003Prioritizing the refactoring need for critical component using combined approachRajni SehgalDeepti MehrotraManju BalaOne of the most promising strategies that will smooth out the maintainability issues of the software is refactoring. Due to lack of proper design approach, the code often inherits some bad smells which may lead to improper functioning of the code, especially when it is subject to change and requires some maintenance. A lot of studies have been performed to optimize the refactoring strategy which is also a very expensive process. In this paper, a component based system is considered, and a Fuzzy Multi Criteria Decision Making (FMCDM) model is proposed by combining subjective and objective weights to rank the components as per their urgency of refactoring. Jdeodorant tool is used to detect the code smells from the individual components of a software system. The objective method uses the Entropy approach to rank the component having the code smell. The subjective method uses the Fuzzy TOPSIS approach based on decision makers’ judgement, to identify the critically and dependency of these code smells on the overall software. The suggested approach is implemented on component-based software having 15 components. The constitute components are ranked based on refactoring requirements.http://www.growingscience.com/dsl/Vol7/dsl_2017_30.pdfCode smellRefactoringFMCDM analysisEntropyFuzzy TOPSIS
spellingShingle Rajni Sehgal
Deepti Mehrotra
Manju Bala
Prioritizing the refactoring need for critical component using combined approach
Decision Science Letters
Code smell
Refactoring
FMCDM analysis
Entropy
Fuzzy TOPSIS
title Prioritizing the refactoring need for critical component using combined approach
title_full Prioritizing the refactoring need for critical component using combined approach
title_fullStr Prioritizing the refactoring need for critical component using combined approach
title_full_unstemmed Prioritizing the refactoring need for critical component using combined approach
title_short Prioritizing the refactoring need for critical component using combined approach
title_sort prioritizing the refactoring need for critical component using combined approach
topic Code smell
Refactoring
FMCDM analysis
Entropy
Fuzzy TOPSIS
url http://www.growingscience.com/dsl/Vol7/dsl_2017_30.pdf
work_keys_str_mv AT rajnisehgal prioritizingtherefactoringneedforcriticalcomponentusingcombinedapproach
AT deeptimehrotra prioritizingtherefactoringneedforcriticalcomponentusingcombinedapproach
AT manjubala prioritizingtherefactoringneedforcriticalcomponentusingcombinedapproach