首页> 外文会议>IEEE International Conference on Software Maintenance and Evolution >Smells Like Teen Spirit: Improving Bug Prediction Performance Using the Intensity of Code Smells
【24h】

Smells Like Teen Spirit: Improving Bug Prediction Performance Using the Intensity of Code Smells

机译:像Teen Spirit一样闻起来:利用代码嗅觉的强度提高错误预测性能

获取原文

摘要

Code smells are symptoms of poor design and implementation choices. Previous studies empirically assessed the impact of smells on code quality and clearly indicate their negative impact on maintainability, including a higher bug-proneness of components affected by code smells. In this paper we capture previous findings on bug-proneness to build a specialized bug prediction model for smelly classes. Specifically, we evaluate the contribution of a measure of the severity of code smells (i.e., code smell intensity) by adding it to existing bug prediction models and comparing the results of the new model against the baseline model. Results indicate that the accuracy of a bug prediction model increases by adding the code smell intensity as predictor. We also evaluate the actual gain provided by the intensity index with respect to the other metrics in the model, including the ones used to compute the code smell intensity. We observe that the intensity index is much more important as compared to other metrics used for predicting the buggyness of smelly classes.
机译:代码气味是不良的设计和实现选择的症状。以前的研究从经验上评估了气味对代码质量的影响,并明确表明了它们对可维护性的负面影响,包括受代码气味影响的组件的易错性较高。在本文中,我们捕获了以前在错误倾向性方面的发现,从而为臭气熏天的类建立了专门的错误预测模型。具体来说,我们通过将代码气味的严重程度(即代码气味强度)添加到现有的错误预测模型中,并将新模型的结果与基准模型进行比较,来评估该度量的重要性。结果表明,通过将代码气味强度添加为预测变量,可以提高错误预测模型的准确性。我们还评估了强度指数相对于模型中其他指标(包括用于计算代码气味强度的指标)提供的实际增益。我们观察到,强度指数比其他用于预测臭味类儿童车的指标更为重要。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号