首页> 外文OA文献 >Case Studies of a Machine Learning Process for Improving the Accuracy of Static Analysis Tools
【2h】

Case Studies of a Machine Learning Process for Improving the Accuracy of Static Analysis Tools

机译:机器学习过程的案例研究,旨在提高静态分析工具的准确性

摘要

Static analysis tools analyze source code and report suspected problems as warningsto the user. The use of these tools is a key feature of most modern software developmentprocesses; however, the tools tend to generate large result sets that can be hard to processand prioritize in an automated way. Two particular problems are (a) a high false positiverate, where warnings are generated for code that is not problematic and (b) a high rateof non-actionable true positives, where the warnings are not acted on or do not representsigni cant risks to the quality of the source code as perceived by the developers. Previouswork has explored the use of machine learning to build models that can predict legitimatewarnings with logistic regression [38] against Google Java codebase. Heckman [19]experimented with 15 machine learning algorithms on two open source projects to classifyactionable static analysis alerts.In our work, we seek to replicate these ideas on di erent target systems, using di erentstatic analysis tools along with more machine learning techniques, and with an emphasison security-related warnings. Our experiments indicate that these models can achieve highaccuracy in actionable warning classi cation. We found that in most cases, our modelsoutperform those of Heckman [19].
机译:静态分析工具分析源代码并向用户报告可疑问题,以作为警告。这些工具的使用是大多数现代软件开发过程的关键功能。但是,这些工具往往会生成大型结果集,这些结果集很难以自动化方式进行处理和确定优先级。两个特别的问题是(a)错误肯定率高,其中针对没有问题的代码生成警告;以及(b)错误率高,不可操作的真实肯定,其中未对警告采取任何措施或不代表对代码的严重风险。开发人员认为源代码的质量。先前的工作探索了使用机器学习来构建模型,该模型可以通过针对Google Java代码库的逻辑回归[38]来预测合法警告。 Heckman [19]在两个开源项目中对15种机器学习算法进行了实验,以对可操作的静态分析警报进行分类。在我们的工作中,我们尝试使用不同的静态分析工具以及更多的机器学习技术在不同的目标系统上复制这些思想。重点强调与安全相关的警告。我们的实验表明,这些模型可以在可操作的警告分类中实现高精度。我们发现,在大多数情况下,我们的模型优于Heckman [19]。

著录项

  • 作者

    Zhao Peng;

  • 作者单位
  • 年度 2016
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号