Towards More Precise Coincidental Correctness Detection With Deep Semantic Learning

被引:1
|
作者
Xie, Huan [1 ]
Lei, Yan [1 ,2 ]
Yan, Meng [1 ]
Li, Shanshan [3 ]
Mao, Xiaoguang [3 ]
Yu, Yue [3 ]
Lo, David [4 ]
机构
[1] Chongqing Univ, Sch Big Data & Software Engn, Chongqing 401331, Peoples R China
[2] Peng Cheng Lab, Shenzhen 518055, Peoples R China
[3] Natl Univ Def Technol, Coll Comp, Changsha 410003, Peoples R China
[4] Singapore Management Univ, Sch Comp & Informat Syst, Singapore 178902, Singapore
基金
中国国家自然科学基金;
关键词
Feature extraction; Semantics; Machine learning algorithms; Location awareness; Deep learning; Clustering algorithms; Prediction algorithms; Benchmark testing; Accuracy; Partitioning algorithms; Coincidental correctness; fault localization; deep semantic learning; FAULT; IDENTIFY;
D O I
10.1109/TSE.2024.3481893
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Coincidental correctness (CC) is a situation during the execution of a test case, the buggy entity is executed, but the program behaves correctly as expected. Many automated fault localization (FL) techniques use runtime information to discover the underlying connection between the executed buggy entity and the failing test result. The existence of CC will weaken such connection, mislead the FL algorithms to build inaccurate models, and consequently, decrease the localization accuracy. To alleviate the adverse effect of CC on FL, CC detection techniques have been proposed to identify the possible CC tests via heuristic or machine learning algorithms. However, their performance on precision is not satisfactory since they overestimate the possible CC tests and are insufficient in learning the deep semantic features. In this work, we propose a novel Triplet network-based Coincidental Correctness detection technique (i.e., TriCoCo) to overcome the limitations of the prior works. TriCoCo narrows the possible CC tests by designing three features to identify genuine passing tests. Instead of using all tests as inputs by existing techniques, TriCoCo takes the identified genuine passing tests and failing ones to train a triplet model that can evaluate their relative distance. Finally, TriCoCo infers the probability of being a CC test of the test in the rest of the passing tests by using the trained triplet model. We conduct large-scale experiments to evaluate TriCoCo based on the widely-used Defects4J benchmark. The results demonstrate that TriCoCo can improve not only the precision of CC detection but also the effectiveness of FL techniques, e.g., the precision of TriCoCo is 80.33% on average, and TriCoCo boosts the efficacy of DStar by 18%-74% in terms of MFR metric when compared to seven state-of-the-art CC detection baselines.
引用
收藏
页码:3265 / 3289
页数:25
相关论文
共 50 条
  • [21] Towards Scientific Data Synthesis Using Deep Learning and Semantic Web
    Algergawy, Alsayed
    Hamed, Hamdi
    Koenig-Ries, Birgitta
    SEMANTIC WEB: ESWC 2021 SATELLITE EVENTS, 2021, 12739 : 54 - 59
  • [22] Sherlock: A Deep Learning Approach to Semantic Data Type Detection
    Hulsebos, Madelon
    Hu, Kevin
    Bakker, Michiel
    Zgraggen, Emanuel
    Satyanarayan, Arvind
    Kraska, Tim
    Demiralp, Cagatay
    Hidalgo, Cesar
    KDD'19: PROCEEDINGS OF THE 25TH ACM SIGKDD INTERNATIONAL CONFERENCCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2019, : 1500 - 1508
  • [23] Deep Learning and Semantic Segmentation for the Detection and Mapping of Glacial Lakes
    Hardie, Alison L.
    Haritashya, Umesh K.
    Hardie, Russell C.
    IEEE NATIONAL AEROSPACE AND ELECTRONICS CONFERENCE, NAECON 2024, 2024, : 30 - 33
  • [24] How detrimental is coincidental correctness to coverage-based fault detection and localization? An empirical study
    Abou Assi, Rawad
    Masri, Wes
    Trad, Chadi
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2021, 31 (05):
  • [25] Harnessing ensemble deep learning models for precise detection of gynaecological cancers
    Kwatra, Chetna Vaid
    Kaur, Harpreet
    Potharaju, Saiprasad
    Tambe, Swapnali N.
    Jadhav, Devyani Bhamare
    Tambe, Sagar B.
    CLINICAL EPIDEMIOLOGY AND GLOBAL HEALTH, 2025, 32
  • [26] Editorial for the special issue on deep learning for precise and efficient object detection
    Pang, Yanwei
    Han, Jungong
    Lu, Xin
    Conci, Nicola
    PATTERN RECOGNITION LETTERS, 2022, 162 : 7 - 8
  • [27] Precise detection of awareness in disorders of consciousness using deep learning framework
    Yang, Huan
    Wu, Hang
    Kong, Lingcong
    Luo, Wen
    Xie, Qiuyou
    Pan, Jiahui
    Quan, Wuxiu
    Hu, Lianting
    Li, Dantong
    Wu, Xuehai
    Liang, Huiying
    Qin, Pengmin
    NEUROIMAGE, 2024, 290
  • [28] Precise detection of Chinese characters in historical documents with deep reinforcement learning
    Wu Sihang
    Wang Jiapeng
    Ma Weihong
    Jin Lianwen
    PATTERN RECOGNITION, 2020, 107
  • [29] Towards a Deep Learning Framework for Unconstrained Face Detection
    Zheng, Yutong
    Zhu, Chenchen
    Luu, Khoa
    Bhagavatula, Chandrasekhar
    Le, T. Hoang Ngan
    Savvides, Marios
    2016 IEEE 8TH INTERNATIONAL CONFERENCE ON BIOMETRICS THEORY, APPLICATIONS AND SYSTEMS (BTAS), 2016,
  • [30] Towards a Hierarchical Deep Learning Approach for Intrusion Detection
    Alin, Francois
    Chemchem, Amine
    Nolot, Florent
    Flauzac, Olivier
    Krajecki, Michael
    MACHINE LEARNING FOR NETWORKING (MLN 2019), 2020, 12081 : 15 - 27