KD-RRT: Restricted Random Testing based on K-Dimensional Tree

Junlong Lian, Chenhui Cui, Weifeng Sun, Yiming Wu, Rubing Huang
{"title":"KD-RRT: Restricted Random Testing based on K-Dimensional Tree","authors":"Junlong Lian, Chenhui Cui, Weifeng Sun, Yiming Wu, Rubing Huang","doi":"10.1109/DSA52907.2021.00086","DOIUrl":null,"url":null,"abstract":"Adaptive random testing (ART) improves the failure-detection capability of Random Testing (RT) by making the generated test cases as evenly distributed as possible within the input domain. Restricted Random Testing (RRT) is one of the most classical ART algorithms, which defines an exclusion region around each executed test case, and generates subsequent test cases from outside all the exclusion regions. RRT requires calculating the distances to the executed test cases sequentially for each candidate test case. When the number of executed test cases is large, the time overhead will be very high. In this paper, we propose a method to reduce the time overhead of RRT by using a K-Dimensional Tree (KD-Tree), called KD-RRT. KD-RRT only calculates the distances of executed test cases that are close to the candidate test cases, and ignores the test cases that are farther away. Thus, KD-RRT cuts down the number of distance calculations and reduces the time overhead of RRT. To verify the effectiveness and efficiency of KD-RRT, a series of simulations and empirical studies are designed in this paper. The data results show that KD-RRT ensures the effectiveness of RRT and significantly reduces the time overhead of RRT.","PeriodicalId":121218,"journal":{"name":"2021 8th International Conference on Dependable Systems and Their Applications (DSA)","volume":"174 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 8th International Conference on Dependable Systems and Their Applications (DSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DSA52907.2021.00086","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Adaptive random testing (ART) improves the failure-detection capability of Random Testing (RT) by making the generated test cases as evenly distributed as possible within the input domain. Restricted Random Testing (RRT) is one of the most classical ART algorithms, which defines an exclusion region around each executed test case, and generates subsequent test cases from outside all the exclusion regions. RRT requires calculating the distances to the executed test cases sequentially for each candidate test case. When the number of executed test cases is large, the time overhead will be very high. In this paper, we propose a method to reduce the time overhead of RRT by using a K-Dimensional Tree (KD-Tree), called KD-RRT. KD-RRT only calculates the distances of executed test cases that are close to the candidate test cases, and ignores the test cases that are farther away. Thus, KD-RRT cuts down the number of distance calculations and reduces the time overhead of RRT. To verify the effectiveness and efficiency of KD-RRT, a series of simulations and empirical studies are designed in this paper. The data results show that KD-RRT ensures the effectiveness of RRT and significantly reduces the time overhead of RRT.
KD-RRT:基于k维树的限制性随机检验
自适应随机测试(ART)通过使生成的测试用例尽可能均匀地分布在输入域中,提高了随机测试(RT)的故障检测能力。限制性随机测试(RRT)是最经典的ART算法之一,它在每个执行的测试用例周围定义一个排除区域,并从所有排除区域之外生成后续的测试用例。RRT需要为每个候选测试用例依次计算到执行测试用例的距离。当执行的测试用例数量很大时,时间开销将非常高。在本文中,我们提出了一种通过k维树(KD-Tree)来减少RRT时间开销的方法,称为KD-RRT。KD-RRT只计算接近候选测试用例的已执行测试用例的距离,而忽略较远的测试用例。因此,KD-RRT减少了距离计算的次数,减少了RRT的时间开销。为了验证KD-RRT的有效性和效率,本文设计了一系列的仿真和实证研究。数据结果表明,KD-RRT保证了RRT的有效性,显著降低了RRT的时间开销。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书