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 条
  • [1] Hybrid mutation driven testing for natural language inference
    Meng, Linghan
    Li, Yanhui
    Chen, Lin
    Ma, Mingliang
    Zhou, Yuming
    Xu, Baowen
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (10)
  • [2] Evaluating Mutation Operator and Test Case Effectiveness by Means of Mutation Testing
    Van-Nho Do
    Quang-Vu Nguyen
    Thanh-Binh Nguyen
    INTELLIGENT INFORMATION AND DATABASE SYSTEMS, ACIIDS 2021, 2021, 12672 : 837 - 850
  • [3] Analyzing Test Case Quality with Mutation Testing Approach
    Nayyar, Zainab
    Rafique, Nazish
    Hashmi, Nousheen
    Rashid, Nadia
    Awan, Saba
    2015 SCIENCE AND INFORMATION CONFERENCE (SAI), 2015, : 902 - 905
  • [4] Test Case Generation for Mutation-based Testing of Timeliness
    Nilsson, Robert
    Offutt, Jeff
    Mellin, Jonas
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (04) : 97 - 114
  • [5] Automatic Test Case Generation and Optimization Based on Mutation Testing
    Du, Yunqi
    Pan, Ya
    Ao, Haiyang
    Alex, O.
    Fan, Yong
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 522 - 523
  • [6] Semi-automatic Test Case Expansion for Mutation Testing
    Lu, Zhong Xi
    Vercammen, Sten
    Demeyer, Serge
    VST '20: PROCEEDINGS OF THE 2020 IEEE 3RD INTERNATIONAL WORKSHOP ON VALIDATION, ANALYSIS, AND EVOLUTION OF SOFTWARE TESTS, 2020, : 1 - 7
  • [7] Analyzing Competences in Software Testing: Combining Thematic Analysis with Natural Language Processing (NLP)
    Rahman, Tajmilur
    Nwokeji, Joshua
    Matovu, Richard
    Frezza, Stephen
    Sugnanam, Harika
    Pisolkar, Aparna
    2021 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE 2021), 2021,
  • [8] A Model for the Development of a Mutation Testing Cum Test Case Generation Tool
    Rao, Aparajita
    George, Kavitha Elizabeth
    Logeshwari, G.
    Katherine, S. Viveka
    Mythili, T.
    2009 INTERNATIONAL CONFERENCE ON ADVANCES IN RECENT TECHNOLOGIES IN COMMUNICATION AND COMPUTING (ARTCOM 2009), 2009, : 812 - 814
  • [9] A Coevolutionary Algorithm to Automatic Test Case Selection and Mutant in Mutation Testing
    Lobo de Oliveira, Andre Assis
    Camilo-Junior, Celso Goncalves
    Vincenzi, Auri M. R.
    2013 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2013, : 829 - 836
  • [10] Detection of temporality at discourse level on financial news by combining Natural Language Processing and Machine Learning
    Garcia-Mendez, Silvia
    de Arriba-Perez, Francisco
    Barros-Vila, Ana
    Gonzalez-Castano, Francisco J.
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 197