首页> 外文会议>Software Maintenance, 2009. ICSM 2009 >Software change classification using hunk metrics
【24h】

Software change classification using hunk metrics

机译:使用大型指标进行软件变更分类

获取原文

摘要

Change management is a challenging task in software maintenance. Changes are made to the software during its whole life. Some of these changes introduce errors in the code which result in failures. Software changes are composed of small code units called hunks, dispersed in source code files. In this paper we present a technique for classifying software changes based on hunk metrics. We classify individual hunks as buggy or bug-free, thus we provide an approach for bug prediction at the smallest level of granularity. We introduce a set of hunk metrics and build classification models based on these metrics. Classification models are built using logistic regression and random forests. We evaluated the performance of our approach on 7 open source software projects. Our classification approach can classify hunks as buggy or bug free with 81 percent accuracy, 77 percent buggy hunk precision and 67 percent buggy hunk recall on average. Most of the hunk metrics are significant predictors of bugs but the set of significant metrics varies among different projects.
机译:变更管理是软件维护中的一项艰巨任务。在软件的整个生命期内都会对其进行更改。其中一些更改会在代码中引入错误,从而导致失败。软件更改由分散在源代码文件中的称为块的小型代码单元组成。在本文中,我们提出了一种基于总体指标对软件更改进行分类的技术。我们将单个大块分类为有缺陷的或无缺陷的,因此我们提供了一种在最小粒度级别上进行缺陷预测的方法。我们引入了一组粗略度量标准,并基于这些度量标准建立了分类模型。使用逻辑回归和随机森林构建分类模型。我们评估了我们的方法在7个开源软件项目中的效果。我们的分类方法可以平均将杂物分类为越野车或无瑕疵,准确度为81%,越野车精确度为77%,越野车召回率平均为67%。大多数粗略度量标准都是错误的重要预测因子,但是重要度量标准的集合在不同项目中有所不同。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号