跳到主要导航 跳到搜索 跳到主要内容

Influential Global and Local Contexts Guided Trace Representation for Fault Localization

  • Zhuo Zhang
  • , Yan Lei
  • , Ting Su
  • , Meng Yan
  • , Xiaoguang Mao
  • , Yue Yu
  • Guangzhou College of Commerce
  • Chongqing University
  • National University of Defense Technology

科研成果: 期刊稿件文章同行评审

摘要

Trace data is critical for fault localization (FL) to analyze suspicious statements potentially responsible for a failure. However, existing trace representation meets its bottleneck mainly in two aspects: (1) the trace information of a statement is restricted to a local context (i.e., a test case) without the consideration of a global context (i.e., all test cases of a test suite); (2) it just uses the goccurrence' for representation without strong FL semantics. Thus, we propose UNITE: an inflUential coNtext-GuIded Trace rEpresentation, representing the trace from both global and local contexts with influential semantics for FL. UNITE embodies and implements two key ideas: (1) UNITE leverages the widely used weighting capability from local and global contexts of information retrieval to reflect how important a statement (a word) is to a test case (a document) in all test cases of a test suite (a collection), where a test case (a document) and all test cases of a test suite (a collection) represent local and global contexts respectively; (2) UNITE further elaborates the trace representation from goccurrence' (weak semantics) to ginfluence' (strong semantics) by combing program dependencies. The large-scale experiments on 12 FL techniques and 20 programs show that UNITE significantly improves FL effectiveness.

源语言英语
期刊论文编号78
期刊ACM Transactions on Software Engineering and Methodology
32
3
DOI
出版状态已出版 - 26 4月 2023

学术指纹

探究 'Influential Global and Local Contexts Guided Trace Representation for Fault Localization' 的科研主题。它们共同构成独一无二的学术指纹。

引用此