arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.15387cs.SE
收藏

追踪软件系统中架构技术债务的生命周期:一种依赖方法

Tracing the Lifecycle of Architecture Technical Debt in Software Systems: A Dependency Approach

Edi Sutoyo, Paris Avgeriou, Andrea Capiluppi

AI总结:

本文通过FAN-IN和FAN-OUT依赖度量实证研究架构技术债务(ATD)的生命周期,发现偿还ATD虽短期提升软件质量,但会集中依赖关系、增加架构复杂性,且ATD文件修改频率低于非ATD文件。

摘要:

架构技术债务(ATD)代表软件架构中的权衡,它加速了初始开发,但带来了长期的维护挑战。ATD,尤其是自我承认的ATD,会影响软件的基础结构,使其难以检测和解决。本研究调查了ATD的生命周期,重点关注它如何影响i)类之间的连接性以及ii)文件修改的频率。我们旨在理解ATD从引入到偿还的演变过程及其对软件架构的影响。我们的实证方法应用于从各种软件制品中提取的SATD项目数据集。我们隔离了ATD实例,过滤了架构指标,并使用FAN-IN和FAN-OUT度量计算了不同生命周期阶段的依赖关系。统计分析,包括Mann-Whitney U检验和Cliff's Delta,用于评估连接性和依赖关系随时间变化的显著性和效应大小。我们观察到,ATD的偿还增加了类连接性,FAN-IN平均增加了57.5%,FAN-OUT平均增加了26.7%,这表明偿还后架构向集中化转变,架构复杂性增加。此外,ATD文件的修改频率低于非ATD文件,变更累积在代码的高依赖部分。我们的研究表明,解决ATD在短期内提高了软件质量,但可能通过集中依赖关系使架构更加复杂。此外,即使依赖度量(如FAN-IN和FAN-OUT)有助于理解ATD的影响,它们也应与其他度量结合使用,以捕捉ATD对软件可维护性的其他影响。

英文摘要:

Architectural technical debt (ATD) represents trade-offs in software architecture that accelerate initial development but create long-term maintenance challenges. ATD, in particular when self-admitted, impacts the foundational structure of software, making it difficult to detect and resolve. This study investigates the lifecycle of ATD, focusing on how it affects i) the connectivity between classes and ii) the frequency of file modifications. We aim to understand how ATD evolves from introduction to repayment and its implications on software architectures. Our empirical approach was applied to a dataset of SATD items extracted from various software artifacts. We isolated ATD instances, filtered for architectural indicators, and calculated dependencies at different lifecycle stages using FAN-IN and FAN-OUT metrics. Statistical analyses, including the Mann-Whitney U test and Cliff's Delta, were used to assess the significance and effect size of connectivity and dependency changes over time. We observed that ATD repayment increased class connectivity, with FAN-IN increasing by 57.5% on average and FAN-OUT by 26.7%, suggesting a shift toward centralization and increased architectural complexity after repayment. Moreover, ATD files were modified less frequently than Non-ATD files, with changes accumulated in high-dependency portions of the code. Our study shows that resolving ATD improves software quality in the short-term, but can make the architecture more complex by centralizing dependencies. Also, even if dependency metrics (like FAN-IN and FAN-OUT) can help understand the impact of ATD, they should be combined with other measures to capture other effects of ATD on software maintainability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑