• Home
  • Search
  • Automated Code-Smell Detection in Microservices Through Static Analysis: A Case Study
  • Open Access IconOpen Access
  • Cite Icon57
  • https://doi.org/10.3390/app10217800Copy DOI Icon

Automated Code-Smell Detection in Microservices Through Static Analysis: A Case Study

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Microservice Architecture (MSA) is becoming the predominant direction of new cloud-based applications. There are many advantages to using microservices, but also downsides to using a more complex architecture than a typical monolithic enterprise application. Beyond the normal poor coding practices and code smells of a typical application, microservice-specific code smells are difficult to discover within a distributed application setup. There are many static code analysis tools for monolithic applications, but tools to offer code-smell detection for microservice-based applications are lacking. This paper proposes a new approach to detect code smells in distributed applications based on microservices. We develop an MSANose tool to detect up to eleven different microservice specific code smells and share it as open-source. We demonstrate our tool through a case study on two robust benchmark microservice applications and verify its accuracy. Our results show that it is possible to detect code smells within microservice applications using bytecode and/or source code analysis throughout the development process or even before its deployment to production.

Loading PDF

Similar Papers
  • PDF
  • Research Article
  • Citations1

Building and Storing in Graph Database Neo4j Abstract Symantic Graph of PHP Applications Source Code

  • Dec 28, 2020
  • NaUKMA Research Papers. Computer Science
  • Trokhym Babych +1
  • Research Article

A Systematic Review on Code Smell Detection Approaches in Open Source Projects

  • Apr 21, 2026
  • Software: Practice and Experience
  • Sawsan Alodibat +1
  • Conference Article
  • Citations6

Applying Machine Learning to Customized Smell Detection

  • Oct 21, 2020
  • Daniel Oliveira +5
  • Research Article
  • Citations7

Advanced strategies for achieving comprehensive code quality and ensuring software reliability

  • Aug 03, 2024
  • Computer Science & IT Research Journal
  • Nnaemeka Valentine Eziamaka +2
  • Research Article
  • Citations6

Unsupervised Machine Learning for Effective Code Smell Detection: A Novel Method

  • Jan 01, 2024
  • Journal of Communications Software and Systems
  • Ruchin Gupta +3
  • 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
  • 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
  • Research Article

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

  • Jan 01, 2024
  • Infocommunications journal
  • Alnor Adam Khleel Nasraldeen +1
  • Conference Article
  • Citations15

Machine learning based code smell detection through WekaNose

  • May 27, 2018
  • Umberto Azadi +2
  • Research Article
  • Citations5

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

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

Improving and comparing performance of machine learning classifiers optimized by swarm intelligent algorithms for code smell detection

  • May 15, 2024
  • Science of Computer Programming
  • Shivani Jain +1
  • Conference Article
  • Citations2

Static Analysis Warnings and Automatic Fixing: A Replication for C# Projects

  • Mar 01, 2022
  • Martin Odermatt +2
  • Research Article
  • Citations70

Predicting Code Smells and Analysis of Predictions: Using Machine Learning Techniques and Software Metrics

  • Nov 01, 2020
  • Journal of Computer Science and Technology
  • Mohammad Y Mhawish +1
  • PDF
  • Research Article
  • Citations1

From code to insight: studying code representation techniques for ML-based God class detection to support intelligent IDEs

  • Jul 25, 2025
  • Automated Software Engineering
  • Elmohanad Haroon +2
  • 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
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.