arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24397cs.SE
收藏

软件生态系统中的破坏性变更:系统文献综述

Breaking Changes in Software Ecosystems: A Systematic Literature Review

The University of Melbourne(墨尔本大学);Sun Yat-sen University(中山大学)

Juntao Chen, Tingting Bi, Yanlin Wang, Patanamon Thongtanunam

AI总结:

本文通过系统文献综述,对软件生态系统中破坏性变更的类别、原因、检测方法和应对策略进行了全面综合,并指出了行为变更检测、语义版本控制失效和传递依赖传播等挑战,以及LLM增强行为契约推断等研究机会。

摘要:

现代软件系统依赖于可重用库的依赖网络,其中破坏性变更会传播并导致下游消费者失败。尽管跨生态系统的研究日益增多,但尚无全面的综合。我们对97篇主要研究进行了系统文献综述,回答了跨越五个生态系统(Maven/Java、npm/JavaScript、Python、Web API和Linux发行版)的四个研究问题。综合得出四个结果。首先,一个四维分类法,包括性质、可检测性、范围和可见性。其次,五个原因类别和五个影响维度,其中维护和设计改进占破坏性变更的比例大于新功能工作。第三,43种检测方法,在语法破坏上达到高准确率,但在行为破坏上覆盖有限。第四,66种沟通、预防和恢复破坏性变更的策略,按参与者角色组织。基于这些发现,我们确定了三个开放挑战和三个研究机会。挑战包括大规模行为破坏检测、语义版本控制作为信任机制的失败,以及信息不对称下的传递依赖传播。机会包括LLM增强的行为契约推断、生态系统级依赖图智能,以及面向机器学习和数据科学的特定领域工具。

英文摘要:

Modern software systems rely on dependency networks of reusable libraries, where breaking changes propagate and cause downstream consumers to fail. Despite growing research across ecosystems, no comprehensive synthesis exists. We conduct a systematic literature review of 97 primary studies, answering four research questions across five ecosystems: Maven/Java, npm/JavaScript, Python, Web APIs, and Linux distributions. The synthesis yields four results. First, a four-dimensional taxonomy along Nature, Detectability, Scope, and Visibility. Second, five reason categories and five impact dimensions, where maintenance and design improvements account for a larger share of breaking changes than new feature work. Third, 43 detection approaches that reach high accuracy on syntactic breaks but limited coverage on behavioral ones. Fourth, 66 strategies for communicating, preventing, and recovering from breaking changes, organized by the actor's role. Based on these findings, we identify three open challenges and three research opportunities. The challenges are behavioral break detection at scale, the failure of semantic versioning as a trust mechanism, and transitive dependency propagation under information asymmetry. The opportunities are LLM-augmented behavioral contract inference, ecosystem-level dependency graph intelligence, and domain-specific tooling for ML and data science.

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

↑