Predicting the Impact of Batch Refactoring Code Smells on Application Resource Consumption
Asif Imran, Tevfik Kosar, Jaroslaw Zola, Muhammed Fatih Bulut

TL;DR
This paper investigates how batch refactoring of code smells affects application resource consumption and develops predictive models to guide resource-aware refactoring decisions.
Contribution
It provides an empirical analysis of resource impacts from refactoring 16 code smell types and introduces ANN-based models to predict resource changes before refactoring.
Findings
Refactoring impacts CPU and memory utilization variably across code smells.
ANN regression models accurately predict resource consumption changes.
Resource-aware refactoring can optimize code quality without increasing resource use.
Abstract
Automated batch refactoring has become a de-facto mechanism to restructure software that may have significant design flaws negatively impacting the code quality and maintainability. Although automated batch refactoring techniques are known to significantly improve overall software quality and maintainability, their impact on resource utilization is not well studied. This paper aims to bridge the gap between batch refactoring code smells and consumption of resources. It determines the relationship between software code smell batch refactoring, and resource consumption. Next, it aims to design algorithms to predict the impact of code smell refactoring on resource consumption. This paper investigates 16 code smell types and their joint effect on resource utilization for 31 open source applications. It provides a detailed empirical analysis of the change in application CPU and memory…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Cloud Computing and Resource Management · Software System Performance and Reliability
MethodsAttentive Walk-Aggregating Graph Neural Network
