• Home
  • Search
  • Monitor-Based Instant Software Refactoring
  • Cite Icon52
  • https://doi.org/10.1109/tse.2013.4Copy DOI Icon

Monitor-Based Instant Software Refactoring

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Software refactoring is an effective method for improvement of software quality while software external behavior remains unchanged. To facilitate software refactoring, a number of tools have been proposed for code smell detection and/or for automatic or semi-automatic refactoring. However, these tools are passive and human driven, thus making software refactoring dependent on developers' spontaneity. As a result, software engineers with little experience in software refactoring might miss a number of potential refactorings or may conduct refactorings later than expected. Few refactorings might result in poor software quality, and delayed refactorings may incur higher refactoring cost. To this end, we propose a monitor-based instant refactoring framework to drive inexperienced software engineers to conduct more refactorings promptly. Changes in the source code are instantly analyzed by a monitor running in the background. If these changes have the potential to introduce code smells, i.e., signs of potential problems in the code that might require refactorings, the monitor invokes corresponding smell detection tools and warns developers to resolve detected smells promptly. Feedback from developers, i.e., whether detected smells have been acknowledged and resolved, is consequently used to optimize smell detection algorithms. The proposed framework has been implemented, evaluated, and compared with the traditional human-driven refactoring tools. Evaluation results suggest that the proposed framework could drive inexperienced engineers to resolve more code smells (by an increase of 140 percent) promptly. The average lifespan of resolved smells was reduced by 92 percent. Results also suggest that the proposed framework could help developers to avoid similar code smells through timely warnings at the early stages of software development, thus reducing the total number of code smells by 51 percent.

Similar Papers
  • Research Article

Editorial for the special issue on software refactoring: Application breadth and technical depth

  • Sep 18, 2024
  • Journal of Software: Evolution and Process
  • Zhenchang Xing
  • Conference Article
  • Citations6

Applying Machine Learning to Customized Smell Detection

  • Oct 21, 2020
  • Daniel Oliveira +5
  • Conference Article
  • Citations15

How do Code Smell Co-occurrences Removal Impact Internal Quality Attributes? A Developers’ Perspective

  • Sep 27, 2021
  • Júlio Martins +3
  • Conference Article
  • Citations3

TFfinder: A Software tool to discover Temporary Field code smell

  • Dec 18, 2020
  • Ruchin Gupta +1
  • PDF
  • Research Article
  • Citations13

The problem of conceptualization in god class detection: agreement, strategies and decision drivers

  • Sep 18, 2014
  • Journal of Software Engineering Research and Development
  • José Amancio M Santos +3
  • Research Article
  • Citations1

Cross-Language Code Smell Detection via Transfer Learning

  • Aug 24, 2025
  • Applied Sciences
  • Rana Sandouka +1
  • Conference Article
  • Citations2

A Novel Approach for Improving the Quality of Software Code using Reverse Engineering

  • Jun 19, 2018
  • Hamza A Elghadhafi +2
  • Book Chapter
  • Citations42

Code Smells Detection Using Artificial Intelligence Techniques: A Business-Driven Systematic Review

  • Aug 16, 2021
  • Tomasz Lewowski +1
  • Research Article

Optimizing LSTM for Code Smell Detection: The Role of Data Balancing

  • Jan 01, 2024
  • Infocommunications journal
  • Alnor Adam Khleel Nasraldeen +1
  • Research Article
  • Citations5

OCL을 이용한 자동화된 코드스멜 탐지와 리팩토링

  • Dec 31, 2008
  • The KIPS Transactions:PartD
  • Tae-Woong Kim +1
  • Research Article
  • Citations59

Are you smelling it? Investigating how similar developers detect code smells

  • Sep 06, 2017
  • Information and Software Technology
  • Mário Hozano +3
  • Conference Article
  • Citations8

Towards the Definition of Patterns and Code Smells for Multi-language Systems

  • Jul 01, 2020
  • Mouna Abidi +1
  • Addendum
  • Citations8

WITHDRAWN: Prioritization of code smells in object-oriented software: A review

  • Jan 01, 2021
  • Materials Today: Proceedings
  • Amandeep Kaur +3
  • Research Article
  • Citations1

Exploring Transfer Learning for Multilingual Software Quality: Code Smells, Bugs, and Harmful Code

  • Apr 08, 2025
  • Journal of Software Engineering Research and Development
  • Rodrigo Lima +7
  • Research Article
  • Citations89

Bad Smell Detection Using Machine Learning Techniques: A Systematic Literature Review

  • Jan 07, 2020
  • Arabian Journal for Science and Engineering
  • Ahmed Al-Shaaby +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.