Toward a Software Bad Smell Prioritization Model for Software Maintainability

Turki Alshammari, Mohammad Alshayeb*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

6 Scopus citations

Abstract

Bad smells are indicators of possible problems in software. Refactoring is usually undertaken to eradicate bad smells. Many studies have investigated the impact of bad smells on software quality, however, only a few have proposed methods to prioritize bad smells. The objective of this paper is to propose a model to prioritize bad smells based on their impact on software maintainability. We use the analytical hierarchy process (AHP) to prioritize bad smells based on their maintainability impact by measuring the code before and after refactoring. The model is validated against five bad smells and five open-source projects. In addition, a visualization of the relationships between classes’ maintainability and its bad smells’ ranking is presented. The prioritization model can help software practitioners in prioritizing their effort and better utilizing their resources. The proposed prioritization model provides an effective method to prioritize the impact of bad smells on maintainability and it can be extended to prioritize the impact of bad smells on other quality attributes.

Original languageEnglish
Pages (from-to)9157-9177
Number of pages21
JournalArabian Journal for Science and Engineering
Volume46
Issue number9
DOIs
StatePublished - Sep 2021

Bibliographical note

Publisher Copyright:
© 2021, King Fahd University of Petroleum & Minerals.

Keywords

  • Bad smell prioritization
  • Refactoring
  • Software maintainability

ASJC Scopus subject areas

  • General

Fingerprint

Dive into the research topics of 'Toward a Software Bad Smell Prioritization Model for Software Maintainability'. Together they form a unique fingerprint.

Cite this