arrow
返回

Efficient Test Case Generation for Thread-Safe Classes

delete2019-01-01
delete2
delete
OA
AI
L
Lili Bo
S
Shujuan Jiang *
J
Junyan Qian
R
Rongcun Wang
X
Xingya Wang
DOI:10.1109/ACCESS.2019.2901588delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Generating test cases automatically for thread-safe classes is an effective approach to validating their correctness. However, the existing concurrent test generation techniques usually consume a large amount of time and efforts before finding concurrency bugs. To alleviate this problem, we present an automatic and efficient approach which combines the advantages of both the bug-driven and coverage-guided techniques to generate test cases for thread-safe classes. First, method pairs that cannot be executed concurrently are removed by the static analysis. Then, a strategy of the bug-driven grouping of method pairs is designed to divide the remaining method pairs into two groups. One group contains the method pairs with a high priority, and another group contains the method pairs with a low priority. Finally, iterative generation of concurrent test cases, which consists of the coverage-guided generation of concurrent tests and concurrency bug detection, is conducted to find concurrency bugs. Our evaluation is on 20 thread-safe classes. Compared with four state-of-the-art approaches, the results show that our approach can obtain a significant improvement in efficiency without impairing bug finding capacities.
Keyword:
Software testing
thread-safe class
test case generation
concurrency bug
static analysis
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

N
nanjing university
学者数:
7.8W
论文数: 5.6W
被引数: 87
引用论文

引用论文

Dynamic Mobile Crowdsourcing Selection for Electricity Load Forecasting
err2018-01-01
err85
errOAAI
errQi, Lianyong; Dou, Wanchun; Wang, Wenping; Li, Guangshun; Yu, Hairong; Wan, Shaohua
err分享
err收藏
err分享
err收藏
Stoichiometry variation for the atomic layer deposition of SrxTiyOz from Sr(iPr3Cp)2, Ti[N(CH3)2]4 and H2O
err2015-02-01
err0
PREAI
errS. Rentrop; B. Abendroth; J. Walter; J. Rensberg; W. Münchgesang; R. Strohmeyer; H. Stöcker; C. Ronning; S. Gemming; D.C. Meyer
err分享
err收藏
Mild hypothermia therapy for patients with severe brain injury
err2002-09-01
err0
PREAI
errRoman Gal; Ivan Cundrle; Iveta Zimova; Martin Smrcka
err分享
err收藏
学者 查看更多内容