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

Java质量保证工具综合研究

A Comprehensive Study on Quality Assurance Tools for Java

Han Liu, Sen Chen, Ruitao Feng, Chengwei Liu, Kaixuan Li, Zhengzi Xu, Liming Nie, Yang Liu, Yixiang Chen

AI总结:

本文针对Java QA工具评估不足的问题,系统选取6款免费或开源工具,从CWE规则覆盖、缺陷检测有效性、警告作用和时间性能四个维度开展大规模综合评测。

摘要:

质量保证(QA)工具正受到越来越多的关注,并被开发者广泛使用。鉴于QA技术的解决方案范围广泛,如何评估QA工具仍然是一个问题。大多数现有研究存在以下局限:(i)它们在比较工具时没有考虑扫描规则分析。(ii)由于研究方法和基准数据集不同,它们对工具有效性的结论并不一致。(iii)它们没有单独分析警告的作用。(iv)尚没有关于时间性能分析的大规模研究。为解决这些问题,本文从148个现有Java QA工具列表中系统地选择了6个免费或开源工具进行综合研究。为开展综合研究并在多层次维度上评估工具,我们首先将扫描规则映射到CWE,并分析扫描规则的覆盖率和粒度。随后,我们在包含1,425个缺陷的5个基准上进行实验,以考察这些工具的有效性。此外,我们投入大量精力,通过比较真实标注缺陷与警告并考察警告在缺陷检测中的作用,来研究警告的有效性。最后,我们在1,049个项目上评估了这些工具的时间性能。基于综合研究得到的有用发现可以帮助开发者改进其工具,并为用户选择QA工具提供建议。

英文摘要:

Quality assurance (QA) tools are receiving more and more attention and are widely used by developers. Given the wide range of solutions for QA technology, it is still a question of evaluating QA tools. Most existing research is limited in the following ways: (i) They compare tools without considering scanning rules analysis. (ii) They disagree on the effectiveness of tools due to the study methodology and benchmark dataset. (iii) They do not separately analyze the role of the warnings. (iv) There is no large-scale study on the analysis of time performance. To address these problems, in the paper, we systematically select 6 free or open-source tools for a comprehensive study from a list of 148 existing Java QA tools. To carry out a comprehensive study and evaluate tools in multi-level dimensions, we first mapped the scanning rules to the CWE and analyze the coverage and granularity of the scanning rules. Then we conducted an experiment on 5 benchmarks, including 1,425 bugs, to investigate the effectiveness of these tools. Furthermore, we took substantial effort to investigate the effectiveness of warnings by comparing the real labeled bugs with the warnings and investigating their role in bug detection. Finally, we assessed these tools' time performance on 1,049 projects. The useful findings based on our comprehensive study can help developers improve their tools and provide users with suggestions for selecting QA tools.

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

↑