Test Case Level Predictive Mutation Testing Combining PIE and Natural Language Features

被引:0
|
作者
Xu, Rui [1 ]
Shi, Yuliang [1 ,2 ]
Su, Zhiyuan [3 ]
Wang, Xinjun [1 ,2 ]
Yan, Zhongmin [1 ]
Kong, Fanyu [1 ]
机构
[1] Shandong Univ, Sch Software, Jinan, Peoples R China
[2] Dareway Software Co Ltd, Jinan, Peoples R China
[3] Jinan Inspur Data Technol Co Ltd, Jinan, Peoples R China
来源
PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023 | 2023年
关键词
software testing; mutation testing; machine learning;
D O I
10.1109/APSEC60848.2023.00012
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Approaches predicting the results of mutation testing by machine learning have been proposed to reduce the cost of mutation testing. The predictive approaches based on PIE theory and approaches based on natural language have been proposed. However, both PIE-based and natural language-based approaches have disadvantages, leading to a reduction in effectiveness at the test case level prediction. In order to predict at the test case level and improve the effectiveness of prediction, we propose Natural Language and PIE Predictive Mutation Testing (NLPIE-PMT), which combines advantages of PIE-based and natural language-based approaches and predict whether each test case kills each mutant in the cross-version scenario. The experimental results on subjects in Defects4J show that NLPIE-PMT can predict whether each test case kill each mutant with the average F1-score of 0.811, which is 0.135 and 0.046 higher than the PIE-based baseline and the natural language-based baseline respectively. NLPIE-PMT also performs better than the baselines in predicting mutation score.
引用
收藏
页码:21 / 30
页数:10
相关论文
共 21 条
  • [21] Intelligent requirement-to-test-case traceability system via Natural Language Processing and Machine Learning
    Sawada, Kae
    Pomerantz, Marc
    Razo, Gus
    Clark, Michael W.
    2023 IEEE 9TH INTERNATIONAL CONFERENCE ON SPACE MISSION CHALLENGES FOR INFORMATION TECHNOLOGY, SMC-IT, 2023, : 78 - 83