Bad smell detection using quality metrics and refactoring opportunities. Issue 8 (21st February 2020)
- Record Type:
- Journal Article
- Title:
- Bad smell detection using quality metrics and refactoring opportunities. Issue 8 (21st February 2020)
- Main Title:
- Bad smell detection using quality metrics and refactoring opportunities
- Authors:
- Bafandeh Mayvan, Bahareh
Rasoolzadegan, Abbas
Javan Jafari, Abbas - Abstract:
- Abstract: 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. Abstract : Bad smell detection plays a vital role in the refactoring, maintaining, and measuring the quality of large and complex software systems. BadAbstract: 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. Abstract : Bad smell detection plays a vital role in the refactoring, maintaining, and measuring the quality of large and complex software systems. Bad smells should be precisely identified and addressed. However, bad smell detection is complicated by issues such as informal and inconsistent specifications 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. … (more)
- Is Part Of:
- Journal of software. Volume 32:Issue 8(2020)
- Journal:
- Journal of software
- Issue:
- Volume 32:Issue 8(2020)
- Issue Display:
- Volume 32, Issue 8 (2020)
- Year:
- 2020
- Volume:
- 32
- Issue:
- 8
- Issue Sort Value:
- 2020-0032-0008-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2020-02-21
- Subjects:
- bad smell detection -- bad smell specification -- software quality metrics -- software refactoring
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.2255 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 13715.xml