Journal of Software: Evolution and Process, Year (2020-2)

Title : ( Bad smell detection using quality metrics and refactoring opportunities )

Authors: Bahareh Bafandeh Mayvan , Abbas Rasoolzadegan , Abbas Javan Jafari ,

Access to full-text not allowed by authors

Citation: BibTeX | EndNote


Bad smells are bad practices in developing software. These poor solutions significantly influence the understandability and maintainability of source code. Therefore,bad smell detection plays a vital role in the refactoring, maintaining, and measuring the quality of large and complex software systems. Researchers believe that bad smells should be precisely identified and addressed. However, bad smell detection is complicated by issues such as informal and inconsistent specifications of bad smells and high false positive rates in the detection process, all of which affect the success rate in detection. In this paper, we present a new method to detect bad smells in code by addressing the aforementioned issues. Our proposed method is a multi-step process using software quality metrics and refactoring opportunities. In this method,after obtaining the bad smell formal specifications based on software metrics, we utilize them to achieve a set of candidates for each bad smell. Afterwards, each of the instances will be examined and compared with the corresponding refactoring situations specified for that bad smell. This examination strikes out the false positives created in the previous step. The evaluation of this method on four open-source systems demonstrates the improved effectiveness of bad smell detection in code.


, bad smell detection, bad smell specification, software quality metrics, software refactoring
برای دانلود از شناسه و رمز عبور پرتال پویا استفاده کنید.

author = {Bafandeh Mayvan, Bahareh and Rasoolzadegan, Abbas and Abbas Javan Jafari},
title = {Bad smell detection using quality metrics and refactoring opportunities},
journal = {Journal of Software: Evolution and Process},
year = {2020},
month = {February},
issn = {2047-7473},
keywords = {bad smell detection; bad smell specification; software quality metrics; software refactoring},


%0 Journal Article
%T Bad smell detection using quality metrics and refactoring opportunities
%A Bafandeh Mayvan, Bahareh
%A Rasoolzadegan, Abbas
%A Abbas Javan Jafari
%J Journal of Software: Evolution and Process
%@ 2047-7473
%D 2020