arrow
返回

L′OP-ART: A linear-time adaptive random testing algorithm for object-oriented programs

delete2024-05-01
delete0
PRE
AI
陈
陈锦富 (Jinfu Chen) *
J
Jingyi Chen
Z
Zhu, Lili
C
Chengying Mao
Q
Qihao Bao
R
Rubing Huang
DOI:10.1016/j.jss.2024.111970delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Object-oriented (OO) programming offers useful and desirable characteristics in the resulting code. These OO characteristics, however, demand an effective testing method. Adaptive random testing (ART) serves as an effective testing technique where test cases are distributed uniformly according to a proper metric for difference (distance) between test cases. Recently proposed object and method invocation sequence similarity (OMISS) distance metric was incorporated into a new ART algorithm (OMISS-ART) for testing OO software. Unfortunately, OMISS-ART's high effectiveness in finding faults comes at significantly higher computational overheads. To alleviate the problem, we present in this paper a linear -time ART algorithm called L ' OP- ART (Linear -time Object-oriented Program testing by ART) based on a lightweight OMISS metric. L ' OP-ART designs specific data structures that store information about executed test cases, thus, the differences between candidates and executed test cases can be obtained with reduced overheads. Empirical studies show that L ' OP-ART detects failures more effectively than random testing (RT), and has comparable fault-detection effectiveness to other ART algorithms for OO testing (according to the F-measure, or the expected number of test case executions required to find a failure). Furthermore, the test case generation overhead of L ' OP-ART is low, close to that of RT.
Keyword:
Object-oriented software testing
Random testing
Adaptive random testing
Testing effectiveness
Test case generation

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
8.4K

机构

J
Jiangsu University
学者数:
4.0W
论文数: 2.8W
被引数: 5.5W
引用论文

引用论文

A Survey on Adaptive Random Testing适应性随机测试综述
err2021-10-01
err58
errOAAI
errHuang, Rubing; Sun, Weifeng; Xu, Yinyin; Chen, Haibo; Towey, Dave; Xia, Xin
err分享
err收藏
err分享
err收藏
err分享
err收藏
Living-Donor Lobar Lung Transplantation for Pulmonary and Abdominopelvic Lymphangioleiomyomatosis
err2005-04-01
err0
PREAI
errF. Chen; T. Fukuse; S. Hasegawa; T. Bando; N. Hanaoka; M. Kawashima; H. Sakai; M. Komeda; H. Wada
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收藏
err分享
err收藏
学者 查看更多内容