Evolutionary Analysis of the Co-occurrence between Code Smells and Community Smells in Code Samples

Context: Code samples are widely used to demonstrate best practices and facilitate framework adoption, promoting productivity and innovation. In open-source projects, their evolution often involves diverse contributions, introducing technical complexity and challenges in community collaboration. This scenario can leads to the co-occurrence of Code Smells and Community Smells, impacting software quality, collaboration, and the sustainability of developer communities. Problem: The simultaneous evolution of Code Smells and Community Smells degrades code quality, reduces developer cohesion, and lowers collaborative efficiency, increasing the likelihood of project failure and making projects less appealing to new contributors. Solution: This study investigates how the co-occurrence and evolution of Code Smells and Community Smells interact over time. It proposes strategies based on metrics and temporal analysis to mitigate these impacts, improve maintainability, and strengthen community dynamics. Information Systems Theory: Social Network Theory provides a foundation to analyze the influence of human interactions on project evolution and team cohesion. Method: We mined open-source repositories—using techniques such as commit history mining, bug log analysis, and code metric extraction—and temporal analysis to quantitatively track and correlate the evolution of Code Smells and Community Smells across project milestones. Results Summary: Local commit surges trigger transient complexity spikes; geographic dispersion reduces cohesion; and diverse teams correlate with controlled code growth. Overall, smells interact to degrade maintainability and collaboration. Contributions: Addressing the SBSI Grand Challenges (2016–2026), this study integrates technical and social perspectives, fostering sustainable practices in open-source projects and enhancing the resilience and effectiveness of developer communities.

Authors

Institutions

Publication Details

Published
2025-05-07
DOI
https://doi.org/10.5753/sbsi.2025.246612
Primary Topic
Evolutionary Algorithms and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evolutionary Analysis of the Co-occurrence between Code Smells and Community Smells in Code Samples

Carla Bezerra, Bruno Cafeo, Maria Istela Cagnin, Hudson Silva Borges et al.
Evolutionary Algorithms and Applications
article

Evolutionary Analysis of the Co-occurrence between Code Smells and Community Smells in Code Samples

Carla Bezerra, Bruno Cafeo, Maria Istela Cagnin, Hudson Silva Borges, Antonio Bueno, Awdren Fontão
article en

Abstract

Context: Code samples are widely used to demonstrate best practices and facilitate framework adoption, promoting productivity and innovation. In open-source projects, their evolution often involves diverse contributions, introducing technical complexity and challenges in community collaboration. This scenario can leads to the co-occurrence of Code Smells and Community Smells, impacting software quality, collaboration, and the sustainability of developer communities. Problem: The simultaneous evolution of Code Smells and Community Smells degrades code quality, reduces developer cohesion, and lowers collaborative efficiency, increasing the likelihood of project failure and making projects less appealing to new contributors. Solution: This study investigates how the co-occurrence and evolution of Code Smells and Community Smells interact over time. It proposes strategies based on metrics and temporal analysis to mitigate these impacts, improve maintainability, and strengthen community dynamics. Information Systems Theory: Social Network Theory provides a foundation to analyze the influence of human interactions on project evolution and team cohesion. Method: We mined open-source repositories—using techniques such as commit history mining, bug log analysis, and code metric extraction—and temporal analysis to quantitatively track and correlate the evolution of Code Smells and Community Smells across project milestones. Results Summary: Local commit surges trigger transient complexity spikes; geographic dispersion reduces cohesion; and diverse teams correlate with controlled code growth. Overall, smells interact to degrade maintainability and collaboration. Contributions: Addressing the SBSI Grand Challenges (2016–2026), this study integrates technical and social perspectives, fostering sustainable practices in open-source projects and enhancing the resilience and effectiveness of developer communities.

Universidade Estadual de Campinas (UNICAMP) (BR), United Food and Commercial Workers (US), Hospital de Clínicas da Unicamp (BR)
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior, Universidade Federal de Mato Grosso do Sul
Openalex Percentile: Top 96%
Evolutionary Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.