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

重新定义众包测试报告优先级排序:一种基于大语言模型的创新方法

Redefining Crowdsourced Test Report Prioritization: An Innovative Approach with Large Language Model

Yuchen Ling, Shengcheng Yu, Chunrong Fang, Guobin Pan, Jun Wang, Jia Liu

AI总结:

针对众包测试中人工审核报告耗时费力、传统方法缺乏语义理解的问题,提出基于大语言模型的LLMPrior方法,通过提示工程聚类错误类型并循环选择排序,性能优于现有方法,为开发者提供高效可靠的解决方案。

摘要:

背景:众包测试因能带来多样性并解决碎片化问题,在软件测试尤其是移动应用测试中日益流行。然而,众包测试的开放性带来了挑战,特别是对大量测试报告的人工审核既耗时又费力。目标:本研究的主要目标是提高众包测试中审核流程的效率。传统的测试报告优先级排序方法缺乏对报告文本描述中语义信息的深入理解。本文介绍了LLMPrior,一种使用大语言模型(LLMs)对众包测试报告进行优先级排序的新方法。方法:LLMPrior利用LLMs根据测试报告文本描述中揭示的错误类型对其进行分析和聚类,这涉及使用提示工程技术来提升LLMs的性能。聚类之后,应用循环选择算法对报告进行优先级排序。结果:通过实证实验评估LLMPrior的有效性,结果表明LLMPrior不仅在性能上超过了当前最先进的方法,而且更可行、高效和可靠。这一成功归功于提示工程技术的使用和基于聚类的优先级排序策略。结论:LLMPrior代表了众包测试报告优先级排序的重大进步,通过有效利用大语言模型和基于聚类的策略,它解决了传统优先级排序方法中的挑战,为处理众包测试报告的应用开发者提供了更高效可靠的解决方案。

英文摘要:

Context: Crowdsourced testing has gained popularity in software testing, especially for mobile app testing, due to its ability to bring diversity and tackle fragmentation issues. However, the openness of crowdsourced testing presents challenges, particularly in the manual review of numerous test reports, which is time-consuming and labor-intensive. Objective: The primary goal of this research is to improve the efficiency of review processes in crowdsourced testing. Traditional approaches to test report prioritization lack a deep understanding of semantic information in textual descriptions of these reports. This paper introduces LLMPrior, a novel approach for prioritizing crowdsourced test reports using large language models (LLMs). Method: LLMPrior leverages LLMs for the analysis and clustering of crowdsourced test reports based on the types of bugs revealed in their textual descriptions. This involves using prompt engineering techniques to enhance the performance of LLMs. Following the clustering, a recurrent selection algorithm is applied to prioritize the reports. Results: Empirical experiments are conducted to evaluate the effectiveness of LLMPrior. The findings indicate that LLMPrior not only surpasses current state-of-the-art approaches in terms of performance but also proves to be more feasible, efficient, and reliable. This success is attributed to the use of prompt engineering techniques and the cluster-based prioritization strategy. Conclusion: LLMPrior represents a significant advancement in crowdsourced test report prioritization. By effectively utilizing large language models and a cluster-based strategy, it addresses the challenges in traditional prioritization approaches, offering a more efficient and reliable solution for app developers dealing with crowdsourced test reports.

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

↑