...
首页> 外文期刊>Information and software technology >ALBFL: A novel neural ranking model for software fault localization via combining static and dynamic features
【24h】

ALBFL: A novel neural ranking model for software fault localization via combining static and dynamic features

机译:Albfl:通过组合静态和动态特征的软件故障定位新颖的神经排名模型

获取原文
获取原文并翻译 | 示例
           

摘要

Context: Automatic software fault localization serves as a significant purpose in helping developers solve bugs efficiently. Existing approaches for software fault localization can be categorized into static methods and dynamic ones, which have improved the fault locating ability greatly by analyzing static features from the source code or tracking dynamic behaviors during the runtime respectively. However, the accuracy of fault localization is still unsatisfactory. Objective: To enhance the capability of detecting software faults with the statement granularity, this paper puts forward ALBFL, a novel neural ranking model that combines the static and dynamic features, which obtains excellent fault localization accuracy. Firstly, ALBFL learns the semantic features of the source code by a transformer encoder. Then, it exploits a self-attention layer to integrate those static features and dynamic features. Finally, those integrated features are fed into a LambdaRank model, which can list the suspicious statements in descending order by their ranked scores. Method: The experiments are conducted on an authoritative dataset (i.e., Defect4J), which includes 5 open-source projects, 357 faulty programs in total. We evaluate the effectiveness of ALBFL, effectiveness of combining features, effectiveness of model components and aggregation on method level. Result: The results reflect that ALBFL identifies triple more faulty statements than 11 traditional SBFL methods and outperforms 2 state-of-the-art approaches by on average 14% on ranking faults in the first position. Conclusions: To improve the precision of automatic software fault localization, ALBFL combines neural network ranking model equipped with the self-attention layer and the transformer encoder, which can take full use of various techniques to judge whether a code statement is fault-inducing or not. Moreover, the joint architecture of ALBFL is capable of training the integration of these features under various strategies so as to improve accuracy further. In the future, we plan to exploit more features so as to improve our method's efficiency and accuracy.
机译:背景信息:自动软件故障本地化是帮助开发人员有效解决错误的重要目的。可以将现有的软件故障定位方法分为静态方法和动态,通过分析运行时分析来自源代码的静态特征或跟踪动态行为,可以大大提高故障定位能力。但是,故障定位的准确性仍然不令人满意。目的:提高用陈述粒度检测软件故障的能力,提出了一种结合静态和动态特征的新型神经排名模型,该模型具有出色的故障定位精度。首先,奥尔比尔通过变压器编码器学习源代码的语义特征。然后,它利用自我关注层集成那些静态功能和动态特征。最后,将这些集成功能馈入Lambdarank模型,该模型可以通过排名分数列出降序的可疑陈述。方法:实验是在权威数据集(I.E.,DEFCECT4J)上,其中包括5个开源项目,总共357个错误的程序。我们评估敏锐,组合成分的有效性,模型成分的有效性和方法水平聚集的有效性。结果:结果反映了Alb1的识别比11传统SBFL方法的三重错误的陈述,并且在第一位置的排名故障平均超过1个最先进的方法。结论:提高自动软件故障定位的精度,AlbFL将配备自我注意层和变压器编码器配备的神经网络排名模式,可以充分利用各种技术来判断代码语句是否是错误的诱导。此外,Alb1的联合体系结构能够在各种策略下培训这些特征的整合,以便进一步提高准确性。在未来,我们计划利用更多功能,以提高我们的方法的效率和准确性。

著录项

  • 来源
    《Information and software technology》 |2021年第11期|106653.1-106653.11|共11页
  • 作者单位

    Tsinghua Univ Tsinghua Shenzhen Int Grad Sch Shenzhen Peoples R China|Peng Cheng Lab Cyberspace Secur Res Ctr Shenzhen Peoples R China;

    Univ Int Business & Econ Sch Informat Technol & Management Beijing Peoples R China;

    Peng Cheng Lab Cyberspace Secur Res Ctr Shenzhen Peoples R China;

    Shenzhen Inst Informat Technol Sch Comp Sci Shenzhen Peoples R China;

    Peng Cheng Lab Cyberspace Secur Res Ctr Shenzhen Peoples R China|Southern Univ Sci & Technol Shenzhen Peoples R China;

    Tsinghua Univ Tsinghua Shenzhen Int Grad Sch Shenzhen Peoples R China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Attention mechanism; Fault localization; Learning to rank; Software quality;

    机译:注意机制;故障本地化;学习排名;软件质量;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号