高级检索

    基于贝叶斯统计推理的故障定位实验研究

    Experimentation Study of BBN-Based Fault Localization

    • 摘要: 故障定位的目的是帮助程序员寻找引发失效的原因或故障位置,以加快调试过程.故障和失效间的关系往往非常复杂,难以直接描述故障到失效的转化.最新的研究多采用差异分析的方法,基于可疑模式,构建故障推理贝叶斯网络,其节点由可疑模式及组成可疑模式方法的调用者构成;定义了贝叶斯网络的构建算法、各个相关概率的定义及BBN中各个边的条件概率计算公式.提出基于该BBN的推理算法,推理得到包含故障的模块,并计算得到每个模块包含故障的概率.提出了评价方法,详细设计了参数调整与定位性能的关系实验和定位结果分析实验.实验数据表明,该故障定位方法取得了平均0.761的定准率和0.737的定全率,定位结果良好,具有较高的实用价值.

       

      Abstract: Fault localization techniques help programmers find out the locations and the causes of the faults and accelerate the debugging process. The relation between the fault and the failure is usually complicated, making it hard to deduce how a fault causes the failure. At present, analysis of variance is broadly used in many recent correlative researches. In this paper, a Bayesian belief network (BBN) for fault reasoning is constructed based on the suspicious pattern, whose nodes consist of the suspicious pattern and the callers of the methods that constitute the suspicious pattern. The constructing algorithm of the BBN, the correlative probabilities, and the formula for the conditional probabilities of each arc of the BBN are defined. A reasoning algorithm based on the BBN is proposed, through which the faulty module can be found and the probability for each module containing the fault can be calculated. An evaluation method is proposed. Experiments are executed to evaluate this fault localization technique. The data demonstrate that 0.761 in accuracy and 0.737 in recall on average are achieved by this technique. It is very effective in fault localization and has high practical value.

       

    /

    返回文章
    返回