...
首页> 外文期刊>Empirical Software Engineering >Weighted software metrics aggregation and its application to defect prediction
【24h】

Weighted software metrics aggregation and its application to defect prediction

机译:加权软件指标聚合及其在缺陷预测中的应用

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

摘要

It is a well-known practice in software engineering to aggregate software metrics to assess software artifacts for various purposes, such as their maintainability or their proneness to contain bugs. For different purposes, different metrics might be relevant. However, weighting these software metrics according to their contribution to the respective purpose is a challenging task. Manual approaches based on experts do not scale with the number of metrics. Also, experts get confused if the metrics are not independent, which is rarely the case. Automated approaches based on supervised learning require reliable and generalizable training data, a ground truth, which is rarely available. We propose an automated approach to weighted metrics aggregation that is based on unsupervised learning. It sets metrics scores and their weights based on probability theory and aggregates them. To evaluate the effectiveness, we conducted two empirical studies on defect prediction, one on ca. 200 000 code changes, and another ca. 5 000 software classes. The results show that our approach can be used as an agnostic unsupervised predictor in the absence of a ground truth.
机译:它是软件工程中的知名实践,用于聚合软件指标,以评估各种目的的软件工件,例如它们的可维护性或其倾向包含错误。出于不同的目的,不同的指标可能是相关的。但是,根据他们对各个目的的贡献加权这些软件指标是一个具有挑战性的任务。基于专家的手动方法不会随着指标的数量扩展。此外,如果指标不独立,专家们很困惑,这很少是这种情况。基于监督学习的自动化方法需要可靠和更广泛的培训数据,是一个很少可用的地面真理。我们提出了一种基于无监督学习的加权度量聚合的自动方法。它根据概率理论设定度量分数及其重量并汇总它们。为了评估效率,我们对缺陷预测进行了两个实证研究,一个在CA上。 200 000代码更改,另一个CA。 5 000个软件类。结果表明,在没有地面真理的情况下,我们的方法可以用作不可知的无人监督的预测因子。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号