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

架构异味与并发缺陷:一项探索性研究与负面结果

Architecture Smells vs. Concurrency Bugs: an Exploratory Study and Negative Results

Damian Andrew Tamburri, Francesca Arcelli Fontana, Riccardo Roveda, Valentina Lenarduzzi

AI总结:

本研究探索架构异味与并发缺陷的关联,通过分析5个大型软件系统的125个版本,发现某些异味可能预示特定并发问题,但两者总体不相关,需结合项目特征具体分析。

摘要:

技术债务在软件制品中以多种不同形式出现。其中一种形式与软件架构有关,债务以架构元素间的结构性反模式出现,即架构异味。正如文献所定义:“架构异味是反复出现的架构决策,会对系统内部质量产生负面影响”,从而增加技术债务。本文旨在探索架构技术债务是否存在超越代码或架构质量下降的表现形式,即架构异味(主要反映结构特征)与并发缺陷(主要在运行时表现)的发生之间是否存在关联。我们研究了5个大型数据密集型软件系统的125个版本,发现:(1) 某些架构异味实际上可能预示着运行时可能出现的并发问题,但(2) 异味与并发总体上不相关——相反,对于特定的并发缺陷,它们必须与特定项目特征(如项目分布)的伴随阐述相结合。例如,代码中可能存在循环依赖,但特定的执行流在运行时可能永远不会被执行。

英文摘要:

Technical debt occurs in many different forms across software artifacts. One such form is connected to software architectures where debt emerges in the form of structural anti-patterns across architecture elements, namely, architecture smells. As defined in the literature, ``Architecture smells are recurrent architectural decisions that negatively impact internal system quality", thus increasing technical debt. In this paper, we aim at exploring whether there exist manifestations of architectural technical debt beyond decreased code or architectural quality, namely, whether there is a relation between architecture smells (which primarily reflect structural characteristics) and the occurrence of concurrency bugs (which primarily manifest at runtime). We study 125 releases of 5 large data-intensive software systems to reveal that (1) several architecture smells may in fact indicate the presence of concurrency problems likely to manifest at runtime but (2) smells are not correlated with concurrency in general -- rather, for specific concurrency bugs they must be combined with an accompanying articulation of specific project characteristics such as project distribution. As an example, a cyclic dependency could be present in the code, but the specific execution-flow could be never executed at runtime.

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

↑