Javascript must be enabled to continue!
An Exploratory Evaluation of Code Smell Agglomerations
View through CrossRef
Abstract
Context.
Code smell is a symptom of decisions about the system design or code that may degrade its modularity. For example, they may indicate inheritance misuse, excessive coupling and size. When two or more code smells occur in the same snippet of code, they form a code smell agglomeration.
Objective.
Few studies evaluate how agglomerations may impact code modularity. In this work, we evaluate which aspects of modularity are being hindered by agglomerations. This way, we can support practitioners in improving their code, by refactoring the code involved with code smell agglomeration that was found as harmful to the system modularity.
Method.
We analyze agglomerations composed of four types of code smells: Large Class, Long Method, Feature Envy, and Refused Bequest. We then conduct a comparison study between 20 systems mined from the Qualita Corpus dataset with 10 systems mined from GitHub. In total, we analyzed 1,789 agglomerations in 30 software projects, from both repositories: Qualita Corpus and GitHub. We rely on frequent itemset mining and non-parametric hypothesis testing for our analysis.
Results.
Agglomerations formed by two or more Feature Envy smells have a significant frequency in the source code for both repositories. Agglomerations formed by different smell types impact the modularity more than classes with only one smell type and classes without smells. For some metrics, when Large Class appears alone, it has a significant and large impact when compared to classes that have two or more method-level smells of the same type.
Conclusion.
We have identified which agglomerations are more frequent in the source code, and how they may impact the code modularity. Consequently, we provide supporting evidence of which agglomerations developers should refactor to improve the code modularity.
Research Square Platform LLC
Title: An Exploratory Evaluation of Code Smell Agglomerations
Description:
Abstract
Context.
Code smell is a symptom of decisions about the system design or code that may degrade its modularity.
For example, they may indicate inheritance misuse, excessive coupling and size.
When two or more code smells occur in the same snippet of code, they form a code smell agglomeration.
Objective.
Few studies evaluate how agglomerations may impact code modularity.
In this work, we evaluate which aspects of modularity are being hindered by agglomerations.
This way, we can support practitioners in improving their code, by refactoring the code involved with code smell agglomeration that was found as harmful to the system modularity.
Method.
We analyze agglomerations composed of four types of code smells: Large Class, Long Method, Feature Envy, and Refused Bequest.
We then conduct a comparison study between 20 systems mined from the Qualita Corpus dataset with 10 systems mined from GitHub.
In total, we analyzed 1,789 agglomerations in 30 software projects, from both repositories: Qualita Corpus and GitHub.
We rely on frequent itemset mining and non-parametric hypothesis testing for our analysis.
Results.
Agglomerations formed by two or more Feature Envy smells have a significant frequency in the source code for both repositories.
Agglomerations formed by different smell types impact the modularity more than classes with only one smell type and classes without smells.
For some metrics, when Large Class appears alone, it has a significant and large impact when compared to classes that have two or more method-level smells of the same type.
Conclusion.
We have identified which agglomerations are more frequent in the source code, and how they may impact the code modularity.
Consequently, we provide supporting evidence of which agglomerations developers should refactor to improve the code modularity.
Related Results
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
<p><code>Intelligent reflecting surface (IRS) is a promising concept for </code><code><u>6G</u></code><code> wireless communications...
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
<p><code>Intelligent reflecting surface (IRS) is a promising concept for </code><code><u>6G</u></code><code> wireless communications...
Exploring Smell Loss Patterns and Recovery Factors Among Covid-19 Patients in Benghazi, Libya
Exploring Smell Loss Patterns and Recovery Factors Among Covid-19 Patients in Benghazi, Libya
Objective: The main objective of this research is to investigate the recovery patterns and the demographic factors that affect patients with loss of smell post-COVID-19 disease in ...
The effect of spatial structure of urban agglomerations on green development: Evidence from China
The effect of spatial structure of urban agglomerations on green development: Evidence from China
Abstract
Spatial structure reflects physical urban agglomerations development and may have economic, societal, and environmental spillover effects. As China pays more atten...
Design of Malicious Code Detection System Based on Binary Code Slicing
Design of Malicious Code Detection System Based on Binary Code Slicing
<p>Malicious code threatens the safety of computer systems. Researching malicious code design techniques and mastering code behavior patterns are the basic work of network se...
Alih Kode Dan Campur Kode Dalam Interaksi Masyarakat Terminal Motabuik Kota Atambua
Alih Kode Dan Campur Kode Dalam Interaksi Masyarakat Terminal Motabuik Kota Atambua
This research aims to describe the use of language in community interactions at the Motabuik terminal, Atambua City. The use of language in question is the form and function of cod...
What Are the Sensory Attributes Associated with Consumer Acceptance of Yellow Oyster Mushrooms (Pleurotus citrinopileatus)?
What Are the Sensory Attributes Associated with Consumer Acceptance of Yellow Oyster Mushrooms (Pleurotus citrinopileatus)?
The oyster mushroom is cultivated globally, renowned for its unique texture and umami flavor, as well as its rich content of nutrients and functional ingredients. This study aims t...
Systematic Evaluation of AI-Generated Python Code: A Comparative Study across Progressive Programming Tasks
Systematic Evaluation of AI-Generated Python Code: A Comparative Study across Progressive Programming Tasks
Abstract
Background: AI-based code assistants are on the rise in software development as powerful technologies offering streamlining of code generation and better-quality c...

