首页> 外文会议>Software Engineering, 2004. ICSE 2004. Proceedings >Finding latent code errors via machine learning over program executions
【24h】

Finding latent code errors via machine learning over program executions

机译:通过机器学习程序执行查找潜在的代码错误

获取原文

摘要

This paper proposes a technique for identifying program properties that indicate errors. The technique generates machine learning models of program properties known to result from errors, and applies these models to program properties of user-written code to classify and rank properties that may lead the user to errors. Given a set of properties produced by the program analysis, the technique selects a subset of properties that are most likely to reveal an error. An implementation, the fault invariant classifier, demonstrates the efficacy of the technique. The implementation uses dynamic invariant detection to generate program properties. It uses support vector machine and decision tree learning tools to classify those properties. In our experimental evaluation, the technique increases the relevance (the concentration of fault-revealing properties) by a factor of 50 on average for the C programs, and 4.8 for the Java programs. Preliminary experience suggests that most of the fault-revealing properties do lead a programmer to an error.
机译:本文提出了一种用于识别指示错误的程序属性的技术。该技术生成已知因错误导致的程序属性的机器学习模型,并将这些模型应用于用户编写的代码的程序属性,以对可能导致用户出错的属性进行分类和排序。给定由程序分析产生的一组属性,该技术选择最有可能显示错误的属性子集。故障不变分类器是一种实现,证明了该技术的有效性。该实现使用动态不变检测来生成程序属性。它使用支持向量机和决策树学习工具对这些属性进行分类。在我们的实验评估中,该技术对C程序的相关性(故障显示属性的浓度)平均提高了50倍,对于Java程序则提高了4.8。初步经验表明,大多数错误显示属性的确会导致程序员出错。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号