Data clumps, where related pieces of data frequently appear together in code, can lead to maintainability challenges and hinder the evolution of software systems. In the context of data clumps, refactoring aims to identify and eliminate instances where closely related data are scattered across a codebase. Refactoring, as a discipline technique for restructuring code without changing its external behavior, plays a crucial role in enhancing code quality. This research paper explores the prevention of data clumps through the application of refactoring approaches. It investigates various refactoring techniques, their effectiveness in addressing data clumps, and their impact on software maintainability. The study employs a systematic approach to evaluate different refactoring strategies for preventing data clumps. It discusses the identification of patterns indicative of data clumps, the selection of appropriate refactoring methods, and the assessment of their implications on code readability, modularity, and adaptability. Additionally, the paper addresses real-world case studies and examples to illustrate the practical application of these refactoring approaches in Spring framework-based projects.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A Source Code Refactoring Tool to Prevent Data Clumps Using AST

  • Noortaz Ahmed,
  • Maslinia Sujnus Shifa,
  • Anber Tahzib Ahmed,
  • Nishat Tasnim Niloy

摘要

Data clumps, where related pieces of data frequently appear together in code, can lead to maintainability challenges and hinder the evolution of software systems. In the context of data clumps, refactoring aims to identify and eliminate instances where closely related data are scattered across a codebase. Refactoring, as a discipline technique for restructuring code without changing its external behavior, plays a crucial role in enhancing code quality. This research paper explores the prevention of data clumps through the application of refactoring approaches. It investigates various refactoring techniques, their effectiveness in addressing data clumps, and their impact on software maintainability. The study employs a systematic approach to evaluate different refactoring strategies for preventing data clumps. It discusses the identification of patterns indicative of data clumps, the selection of appropriate refactoring methods, and the assessment of their implications on code readability, modularity, and adaptability. Additionally, the paper addresses real-world case studies and examples to illustrate the practical application of these refactoring approaches in Spring framework-based projects.