• Home
  • Search
  • Exploring Transfer Learning for Multilingual Software Quality: Code Smells, Bugs, and Harmful Code
  • Cite Icon1
  • https://doi.org/10.5753/jserd.2025.4593Copy DOI Icon

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

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

Code smells are indicators of poor design implementation and decision-making that can potentially harm the quality of software. Therefore, detecting these smells is crucial to prevent such issues. Some studies aim to comprehend the impact of code smells on software quality, while others propose rules or machine learning-based approaches to identify code smells. Previous research has focused on labeling and analyzing code snippets that significantly impair software quality using machine learning techniques. These snippets are classified as Clean, Smelly, Buggy, and Harmful Code. Harmful Code refers to smelly code segments that have one or more reported bugs, whether fixed or not. Consequently, the presence of a Harmful Code increases the risk of introducing new defects and/or design issues during the remediation process. We perform our study as an extension of the previous study, with the scope of 5 smell types. The total number of commits across all four tables (Java, C++, C#, and Python projects) is 641,736, versions of 91 open-source projects, 17,022 bugs, and 24,737 code smells. The findings revealed promising transferability of knowledge between Java and C# in the presence of various code smell types, while C++ and Python exhibited more challenging transferability. Also, our study discovered that a sample size of 32 demonstrated favorable outcomes for most harmful codes, underscoring the efficiency of transfer learning even with limited data. Moreover, the exploration of transfer learning between bugs and code smells represents a not-very-ineffective avenue within the realm of software engineering.

Similar Papers
  • Conference Article
  • Citations9

Code Smells Incidence: Does It Depend on the Application Domain?

  • Sep 01, 2016
  • Jose Pereira Dos Reis +2
  • 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
  • Citations15

Predicting software change-proneness with code smells and class imbalance learning

  • Sep 01, 2016
  • Arvinder Kaur +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
  • Citations6

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

  • Jan 01, 2024
  • Journal of Communications Software and Systems
  • Ruchin Gupta +3
  • Conference Article

Towards Understanding the Distribution and Evolution of Code Smells: An Empirical Study on Java and Python Projects (S)

  • Oct 28, 2024
  • Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
  • Qing Mi +3
  • Research Article

HSHEP: An Optimization-Based Code Smell Refactoring Sequencing Technique

  • Jul 10, 2024
  • Journal of Computational and Cognitive Engineering
  • Ritika Maini +2
  • Conference Article
  • Citations6

Applying Machine Learning to Customized Smell Detection

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

Landfill: An Open Dataset of Code Smells with Public Evaluation

  • May 01, 2015
  • Fabio Palomba +6
  • Conference Article
  • Citations7

Copilot-in-the-Loop: Fixing Code Smells in Copilot-Generated Python Code using Copilot

  • Oct 27, 2024
  • Beiqi Zhang +4
  • 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

Copy-and-Paste? Identifying EVM-Inequivalent Code Smells in Multi-chain Reuse Contracts

  • Jun 22, 2025
  • Proceedings of the ACM on Software Engineering
  • Zexu Wang +6
  • Research Article
  • Citations1

Cross-Language Code Smell Detection via Transfer Learning

  • Aug 24, 2025
  • Applied Sciences
  • Rana Sandouka +1
  • Addendum
  • Citations8

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

  • Jan 01, 2021
  • Materials Today: Proceedings
  • Amandeep Kaur +3
  • Conference Article
  • Citations8

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

  • Jul 01, 2020
  • Mouna Abidi +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.