Information Retrieval-based Fault Localization for Concurrent Programs

被引:0
|
作者
Shao, Shuai [1 ]
Yu, Tingting [1 ]
机构
[1] Univ Connecticut, Dept Comp Sci & Engn, Storrs, CT 06269 USA
关键词
Concurrent program; fault localization; information retrieval; IMPROVING BUG LOCALIZATION; CONCEPT LOCATION; QUERIES;
D O I
10.1109/ASE56229.2023.00122
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Information retrieval-based fault localization (IRFL) techniques have been proposed as a solution to identify the files that are likely to contain faults that are root causes of failures reported by users. These techniques have been extensively studied to accurately rank source files, however, none of the existing approaches have focused on the specific case of concurrent programs. This is a critical issue since concurrency bugs are notoriously difficult to identify. To address this problem, this paper presents a novel approach called BLCoiR, which aims to reformulate bug report queries to more accurately localize source files related to concurrency bugs. The key idea of BLCoiR is based on a novel knowledge graph (KG), which represents the domain entities extracted from the concurrency bug reports and their semantic relations. The KG is then transformed into the IR query to perform fault localization. BLCoiR leverages natural language processing (NLP) and concept modeling techniques to construct the knowledge graph. Specifically, NLP techniques are used to extract relevant entities from the bug reports, such as the word entities related to concurrency constructs. These entities are then linked together based on their semantic relationships, forming the KG. We have conducted an empirical study on 692 concurrency bug reports from 44 real-world applications. The results show that BLCoiR outperforms existing IRFL techniques in terms of accuracy and efficiency in localizing concurrency bugs. BLCoiR demonstrates effectiveness of using a knowledge graph to model the domain entities and their relationships, providing a promising direction for future research in this area.
引用
收藏
页码:1467 / 1479
页数:13
相关论文
共 50 条
  • [31] Improving Information Retrieval-Based Concept Location Using Contextual Relationships
    Dilshener, Tezcan
    2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1499 - 1502
  • [32] Effective fault localization and context-aware debugging for concurrent programs
    Chu, Justin
    Yu, Tingting
    Hayes, Jane Huffman
    Han, Xue
    Zhao, Yu
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2022, 32 (01):
  • [33] On the relationship between bug reports and queries for text retrieval-based bug localization
    Chris Mills
    Esteban Parra
    Jevgenija Pantiuchina
    Gabriele Bavota
    Sonia Haiduc
    Empirical Software Engineering, 2020, 25 : 3086 - 3127
  • [34] Multi-View Adaptive Contrastive Learning for Information Retrieval Based Fault Localization
    Zhou, Chunying
    Xie, Xiaoyuan
    Chen, Gong
    He, Peng
    Li, Bing
    arXiv,
  • [35] Learning With Retrieval-Based Concept Mapping
    Blunt, Janell R.
    Karpicke, Jeffrey D.
    JOURNAL OF EDUCATIONAL PSYCHOLOGY, 2014, 106 (03) : 849 - 858
  • [36] A Statistical Perspective on Retrieval-Based Models
    Basu, Soumya
    Rawat, Ankit Singh
    Zaheer, Manzil
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 202, 2023, 202
  • [37] SemirFL: Boosting Fault Localization via Combining Semantic Information and Information Retrieval
    Shi, Xiangyu
    Ju, Xiaolin
    Chen, Xiang
    Lu, Guilong
    Xu, Mengqi
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY COMPANION, QRS-C, 2022, : 324 - 332
  • [38] Retrieval-Based Learning and Prior Knowledge
    Buchin, Zachary L.
    Mulligan, Neil W.
    JOURNAL OF EDUCATIONAL PSYCHOLOGY, 2023, 115 (01) : 22 - 35
  • [39] Towards retrieval-based conversational recommendation
    Manzoor, Ahtsham
    Jannach, Dietmar
    INFORMATION SYSTEMS, 2022, 109
  • [40] Retrieval-based Localization Based on Domain-invariant Feature Learning under Changing Environments
    Hu, Hanjiang
    Wang, Hesheng
    Liu, Zhe
    Yang, Chenguang
    Chen, Weidong
    Xie, Le
    2019 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2019, : 3684 - 3689