Integrating Interactive Detection of Code Smells into Scrum: Feasibility, Benefits, and Challenges

Danyllo Albuquerque, Everton Guimarães, Mirko Perkusich, Hyggo Almeida, Angelo Perkusich

Research output: Contribution to journalArticlepeer-review

Abstract

Featured Application: The potential application of this study is to guide developers and organizations in effectively detecting and refactoring code smells, enhancing the quality and sustainability of software projects within an agile development context. (Context) Code smells indicate poor coding practices or design flaws, suggesting deeper software quality issues. While addressing code smells promptly improves software quality, traditional detection techniques often fail in continuous detection during software development. (Problem Statement) More recently, Interactive Detection (ID) technique has been proposed, enabling the detection of code smells continuously. Although the use of this technique by developers and organizations is promising, there are no practical recommendations for its use in the context of software development. (Goal) The objective of this study was to propose and evaluate the integration of ID into the widely adopted Scrum framework for agile software development. (Method) To achieve this objective, we utilized a mixed-method approach that combined a comprehensive literature review and expert knowledge to propose the integration. Furthermore, we conducted a focus group and a controlled experiment involving software development activities to evaluate this integration. (Results) The findings revealed that this integration significantly benefitted software development, such as early detection of code smells, increased effectiveness in code smell detection, and improved code quality. These findings shed light on the potential benefits of adopting this integration, offering valuable insights for developers and researchers. (Conclusions) This research emphasized the importance of continuous code smell detection as an integral part of agile development and opened avenues for further research in code quality management within agile methodologies.

Original languageEnglish (US)
Article number8770
JournalApplied Sciences (Switzerland)
Volume13
Issue number15
DOIs
StatePublished - Aug 2023

All Science Journal Classification (ASJC) codes

  • General Materials Science
  • Instrumentation
  • General Engineering
  • Process Chemistry and Technology
  • Computer Science Applications
  • Fluid Flow and Transfer Processes

Cite this