首页> 外文会议>IEEE/ACM International Conference on Program Comprehension;International Conference on Software Engineering >Warning-Introducing Commits vs Bug-Introducing Commits: A tool, statistical models, and a preliminary user study
【24h】

Warning-Introducing Commits vs Bug-Introducing Commits: A tool, statistical models, and a preliminary user study

机译:警告介绍致力于介绍错误:工具,统计模型和初步用户学习

获取原文

摘要

This paper partially replicates prior works on building historical commits [1], commit risk modeling [2], and a comparison of statistical bug models and static bug finders [3].We examine 8 Maven-based projects with an average lifespan of 5.8 years. To historically build these projects across a total of 45k commits, we develop a series of techniques, such as flexibly selecting the version of a library that is closest to the commit date. We are able to build a per project average of 78.4% of all commits, a doubling in buildability compared to prior work. We also develop a git blame strategy to assign warnings even when a commit does not build.We run JLint and FindBugs and create a logistic regression model to predict if a commit that introduces a warning has higher odds of introducing a bug. The static bug finders model accounted for only 13% of the deviance, while the statistical bug model accounted for 19.5%. We had expected static bug finder warnings to improve the predictive power of models of bug introducing changes, but we clearly attained a negative result.To understand this negative result, we perform a preliminary user study of developers who introduced new warnings in 37 projects. We found that while warnings might not predict bugs, 53% and 21% of warnings in Findbugs and Jlint respectively are useful. We also study whether just-in-time warnings presentation on each commit impacted usefulness. We find that the later a warning is shown to a developer, the less useful it is perceived to be (a median of 11.5 days versus 23 days for non useful warnings).Based on our findings, we modify the existing COMMITGURU interface to add new warnings to the specific line in a changed file. The empirical study data [4] and WARNINGSGURU tool [5] are publicly available.
机译:本文部分复制了在建立历史犯下[1]的先前工作[1],提交风险建模[2],以及统计错误模型和静态BUG查找器的比较[3]。我们检查了8个基于MAVEN的项目,平均寿命为5.8年。在历史上建立这些项目总共45 kIng,我们开发了一系列技术,例如灵活地选择最接近提交日期的库的版本。与事先工作相比,我们能够在所有提交的每个项目的平均值为78.4%,与易用性加倍。我们还开发了一个Git责备策略来分配警告,即使一个提交不构建。我们运行jlint和findbugs并创建一个逻辑回归模型,以预测引入警告的提交的提交介绍了引入错误的几率。静态Bug Fooders模型仅占偏差的13%,而统计错误模型占19.5%。我们预期的静态Bug Finder警告提高了引入变化的错误模型的预测力量,但我们显然达到了负面结果。要了解这种负面结果,我们对37个项目引入新警告的开发人员进行了初步用户研究。我们发现,虽然警告可能无法预测错误,53%和21%的FindBugs和Jlint的警告都很有用。我们还研究在每次提交的立即警告是否介绍了有效性。我们发现后来的警告显示为开发人员,它被认为是越少的有用(一个11.5天的中位数与非有用警告的23天)。基于我们的调查结果,我们修改了现有的CommitGuru接口添加新的接口在更改的文件中向特定行的警告。实证研究数据[4]和警告GURU工具[5]是公开的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号