arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.17183cs.SEcs.AI
收藏

软件质量保障中的因果推理:系统综述

Causal Reasoning in Software Quality Assurance: A Systematic Review

Università degli Studi di Napoli Federico II(那不勒斯费德里科二世大学);DIETI

Luca Giamattei, Antonio Guerriero, Roberto Pietrantuono, Stefano Russo

AI总结:

本文系统综述86篇文献,梳理因果推理在软件质量保障中的应用领域、方法、工具与成熟度,指出故障定位为主、V&V及维护阶段价值显著。

摘要:

背景:软件质量保障(SQA)是软件工程的基础组成部分,用于向利益相关者确保软件产品在发布并投入运行后能够按预期工作。机器学习(ML)已被证明能够推动 SQA 活动,并为高质量软件系统的开发作出贡献。在此背景下,因果推理作为一种超越纯数据驱动方法的方法论正受到越来越多的关注,其通过利用因果关系来制定更有效的 SQA 策略。目标:全面且详细地概述因果推理在 SQA 活动中的使用,以支持研究人员进入该研究领域,识别应用空间、主要挑战和研究机会。方法:对关于因果推理用于 SQA 的科学文献进行系统综述。该研究依据软件工程二次研究的既定指南,检索、分类并分析了 86 篇文章。结果:结果突出了 SQA 中因果推理已得到应用的主要领域、所采用的主流方法以及所提解决方案的成熟度水平。故障定位是因果推理应用最多的活动,尤其是在 Web 服务/微服务领域,但测试等其他任务也正迅速受到欢迎。因果推断和因果发现均有应用,其中 Pearl 的因果关系图形化表述更受青睐,这可能是由于其直观性。促进其应用的工具正在快速涌现,其中大多数出现在 2021 年之后。结论:研究结果表明,就多种质量属性而言,因果推理是完成 SQA 任务的一种有价值手段,尤其是在验证与确认(V&V)、演化和维护期间用于确保可靠性;然而,它在诸如……等阶段尚未得到充分利用。

英文摘要:

Context: Software Quality Assurance (SQA) is a fundamental part of software engineering to ensure stakeholders that software products work as expected after release in operation. Machine Learning (ML) has proven to be able to boost SQA activities and contribute to the development of quality software systems. In this context, Causal Reasoning is gaining increasing interest as a methodology to go beyond a purely data-driven approach by exploiting the use of causality for more effective SQA strategies. Objective: Provide a broad and detailed overview of the use of causal reasoning for SQA activities, in order to support researchers to access this research field, identifying room for application, main challenges and research opportunities. Methods: A systematic review of the scientific literature on causal reasoning for SQA. The study has found, classified, and analyzed 86 articles, according to established guidelines for software engineering secondary studies. Results: Results highlight the primary areas within SQA where causal reasoning has been applied, the predominant methodologies used, and the level of maturity of the proposed solutions. Fault localization is the activity where causal reasoning is more exploited, especially in the web services/microservices domain, but other tasks like testing are rapidly gaining popularity. Both causal inference and causal discovery are exploited, with the Pearl's graphical formulation of causality being preferred, likely due to its intuitiveness. Tools to favour their application are appearing at a fast pace - most of them after 2021. Conclusions: The findings show that causal reasoning is a valuable means for SQA tasks with respect to multiple quality attributes, especially during V&V, evolution and maintenance to ensure reliability, while it is not yet fully exploited for phases like ...

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

↑