架构退化:定义、动因、测量与修复方法
Architectural Degradation: Definition, Motivations, Measurement and Remediation Approaches
AI总结:
本文通过多来源文献综述108项研究,系统梳理架构退化的定义、成因、度量与修复方法,构建涵盖架构、代码和过程债务的分类体系,揭示检测与持续修复之间的脱节,并呼吁采用整体性、主动性的可持续架构策略。
摘要:
架构退化,也称为侵蚀、衰败或老化,影响系统质量、可维护性和适应性。尽管这一问题已被广泛认识,但现有文献中的定义、度量和修复策略仍呈碎片化状态。本研究旨在通过识别学术文献和灰色文献中架构退化的定义、成因、度量、工具和修复方法,统一对架构退化的理解。我们对108项研究进行了多来源文献综述,提取了定义、成因、度量、测量方法、工具和修复策略。我们构建了一个涵盖架构债务、代码债务和过程债务的分类体系,以探索定义演变、方法论趋势和研究空白。架构退化已从低层次问题转变为社会技术层面的关注点。当前定义涉及代码违规、设计漂移和结构衰败。成因分为架构债务(如文档质量差)、代码债务(如仓促修复)和过程债务(如知识流失)三类。我们识别出54种度量和31种测量技术,重点关注坏味道、内聚性/耦合性以及演化。然而,大多数工具能够检测问题,但很少支持持续修复或预防性修复。退化既是技术问题,也是组织问题。虽然检测已得到充分研究,但持续修复仍然缺乏。我们的研究揭示了度量、工具和修复逻辑之间整合不足的问题,呼吁采用整体性、主动性的策略来维持可持续的架构。
英文摘要:
Architectural degradation, also known as erosion, decay, or aging, impacts system quality, maintainability, and adaptability. Although widely acknowledged, current literature shows fragmented definitions, metrics, and remediation strategies. Our study aims to unify understanding of architectural degradation by identifying its definitions, causes, metrics, tools, and remediation approaches across academic and gray literature. We conducted a multivocal literature review of 108 studies extracting definitions, causes, metrics, measurement approaches, tools, and remediation strategies. We developed a taxonomy encompassing architectural, code, and process debt to explore definition evolution, methodological trends, and research gaps. Architectural degradation has shifted from a low-level issue to a socio-technical concern. Definitions now address code violations, design drift, and structural decay. Causes fall under architectural (e.g., poor documentation), code (e.g., hasty fixes), and process debt (e.g., knowledge loss). We identified 54 metrics and 31 measurement techniques, focused on smells, cohesion/coupling, and evolution. Yet, most tools detect issues but rarely support ongoing or preventive remediation. Degradation is both technical and organizational. While detection is well-studied, continuous remediation remains lacking. Our study reveals missed integration between metrics, tools, and repair logic, urging holistic, proactive strategies for sustainable architecture.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。