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 条
  • [1] Towards Boundary More Precise Detection:Surrounding-to-aggregating Deep Learning in Videoscope Imaging
    Huang, Yangyiyi
    Ge, Jinchao
    Fan, Weiming
    Zheng, Yiqun
    Lin, Changting
    SENSORS AND MATERIALS, 2024, 36 (11) : 4651 - 4663
  • [2] Contrastive Coincidental Correctness Representation Learning
    Li, Maojin
    Lei, Yan
    Xie, Huan
    Wang, Jiaguo
    Liu, Chunyan
    Deng, Zhengxiong
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 252 - 263
  • [3] NeuralCCD: Integrating Multiple Features for Neural Coincidental Correctness Detection
    Tao, Zhou
    Lei, Yan
    Xie, Huan
    Hu, Jian
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 85 - 96
  • [4] TOWARDS MORE PRECISE DEFINITION OF CONDITIONS FOR SATISFACTORY DEEP ETCHING
    HAGGIS, GH
    JOURNAL OF MICROSCOPY-OXFORD, 1985, 139 (JUL): : 49 - 55
  • [5] Towards a Semantic Video Analysis using Deep Learning and Ontology
    Bornia, Jemai
    Mahmoudi, Sidi Ahmed
    Frihida, Ali
    Manneback, Pierre
    2018 4TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGIES AND APPLICATIONS (CLOUDTECH), 2018,
  • [6] On the Use of Deep Learning Models for Semantic Clone Detection
    Pinku, Subroto Nag
    Mondal, Debajyoti
    Roy, Chanchal K.
    Proceedings - 2024 IEEE International Conference on Software Maintenance and Evolution, ICSME 2024, 2024, : 512 - 524
  • [7] SEMANTIC EDGE DETECTION BASED ON DEEP METRIC LEARNING
    Cai, Shulian
    Huang, Jiabin
    Ding, Xinghao
    Zeng, Delu
    2017 INTERNATIONAL SYMPOSIUM ON INTELLIGENT SIGNAL PROCESSING AND COMMUNICATION SYSTEMS (ISPACS 2017), 2017, : 707 - 712
  • [8] Semantic Representation Based on Deep Learning for Spam Detection
    Saidani, Nadjate
    Adi, Kamel
    Allili, Mohand Said
    FOUNDATIONS AND PRACTICE OF SECURITY, FPS 2019, 2020, 12056 : 72 - 81
  • [9] Semantic Event Detection Using Ensemble Deep Learning
    Pouyanfar, Samira
    Chen, Shu-Ching
    PROCEEDINGS OF 2016 IEEE INTERNATIONAL SYMPOSIUM ON MULTIMEDIA (ISM), 2016, : 203 - 208
  • [10] Pedestrian Detection aided by Deep Learning Semantic Tasks
    Tian, Yonglong
    Luo, Ping
    Wang, Xiaogang
    Tang, Xiaoou
    2015 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2015, : 5079 - 5087