The Impact of Auto-Refactoring Code Smells on the Resource Utilization of Cloud Software

08/14/2020
by   Asif Imran, et al.
0

Cloud-based software-as-a-service (SaaS) have gained popularity due to their low cost and elasticity. However, like other software, SaaS applications suffer from code smells, which can drastically affect functionality and resource usage. Code smell is any design in the source code that indicates a deeper problem. The software community deploys automated refactoring to eliminate smells which can improve performance and also decrease the usage of critical resources. However, studies that analyze the impact of automatic refactoring smells in SaaS on resources such as CPU and memory have been conducted to a limited extent. Here, we aim to fill that gap and study the impact on resource usage of SaaS applications due to automatic refactoring of seven classic code smells: god class, feature envy, type checking, cyclic dependency, shotgun surgery, god method, and spaghetti code. We specified six real-life SaaS applications from Github called Zimbra, OneDataShare, GraphHopper, Hadoop, JENA, and JAMES which ran on Openstack cloud. Results show that refactoring smells by tools like JDeodrant and JSparrow have widely varying impacts on the CPU and memory consumption of the tested applications based on the type of smell refactored. We present the resource utilization impact of each smell and also discuss the potential reasons leading to that effect.

READ FULL TEXT
research
06/27/2023

Predicting the Impact of Batch Refactoring Code Smells on Application Resource Consumption

Automated batch refactoring has become a de-facto mechanism to restructu...
research
05/23/2020

Profiling Resource Utilization of Bioinformatics Workflows

We present a software tool, the Container Profiler, that measures and re...
research
07/22/2023

CloudScent: a model for code smell analysis in open-source cloud

The low cost and rapid provisioning capabilities have made open-source c...
research
10/10/2020

Understanding Cloud Workloads Performance in a Production like Environment

Understanding inter-VM interference is of paramount importance to provid...
research
07/08/2023

Exploring Automated Code Evaluation Systems and Resources for Code Analysis: A Comprehensive Survey

The automated code evaluation system (AES) is mainly designed to reliabl...
research
03/08/2020

Multiple Regression Particle Swarm Optimization for Host Overload and Under-Load Detection

Detection of overloaded and under-loaded Host approaches in cloud comput...
research
01/11/2018

A Software-defined SoC Memory Bus Bridge Architecture for Disaggregated Computing

Disaggregation and rack-scale systems have the potential of drastically ...

Please sign up or login with your details

Forgot password? Click here to reset