Related Experiment Video
Updated: Jun 12, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Dynamic stacking ensemble for cross-language code smell detection
1Information and Computer Science Department, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia.
This study introduces dynamic ensembles for detecting code smells in Java and Python, achieving comparable accuracy to full stacking ensembles but with reduced complexity. These methods offer a more stable and efficient approach to identifying software design issues.
Area of Science:
- Software Engineering
- Machine Learning
- Computer Science
Background:
- Code smells are indicators of poor software design and implementation.
- Machine learning for code smell detection is an active research area, but models often lack stability and focus primarily on Java.
- Existing methods for code smell detection can be complex and may not generalize well across programming languages.
Purpose of the Study:
- To propose dynamic ensemble methods for code smell detection in both Java and Python.
- To investigate the effectiveness of greedy search and backward elimination strategies in building these dynamic ensembles.
- To compare the complexity and detection performance of dynamic ensembles against full stacking ensembles.
Main Methods:
- Development of dynamic ensemble models using greedy search and backward elimination strategies.
- Evaluation of detection performance on four Java and two Python code smells.
- Comparative analysis of model complexity and detection accuracy with full stacking ensembles.
Main Results:
- Greedy search and backward elimination yielded distinct sets of base models for dynamic ensembles.
- Dynamic ensembles demonstrated comparable detection performance to full stacking ensembles with no significant loss.
- Dynamic ensembles, particularly those using backward elimination, resulted in less complex models for most investigated code smells.
Conclusions:
- Dynamic stacking ensembles provide an effective and stable method for detecting Java and Python code smells.
- These dynamic ensembles offer a reduced complexity alternative to full stacking ensembles.
- The proposed strategies facilitate improved code smell detection across multiple programming languages.
More Related Videos
07:08Optimization of Synthetic Proteins: Identification of Interpositional Dependencies Indicating Structurally and/or Functionally Linked Residues
Published on: July 14, 2015
09:09Foreign Accent and Forensic Speaker Identification in Voice Lineups: The Influence of Acoustic Features Based on Prosody
Published on: September 27, 2024
Related Concept Videos
Structural Classification of Joints
A fibrous joint is where the adjacent bones are united by fibrous connective...
Types of Errors: Detection and Minimization
Absolute error in a measurement is the numerical difference from the true or central value. Relative error is the ratio between absolute error and the true or central value, expressed as a percentage.
Errors can be classified by source, magnitude, and sign. There are three types of errors: systematic, random, and gross.
Systematic or...
Statically Indeterminate Problem Solving
Stability of structures
Leaky Scanning
Language
Corballis and Suddendorf (2007) and Tomasello and Rakoczy (2003) highlight the role of language in...