不同Source Code学习算法和机器学习算法预测面向对象系统变化倾向性的比较研究
A Comparative Study of Different Source Code Metrics and Machine Learning Algorithms for Predicting Change Proneness of Object Oriented Systems
摘要:
易更改类或模块被定义为源代码中可能在未来更改的软件组件。变更倾向预测对维护团队很有用,因为他们可以优化并将测试资源集中在变更可能性更高的模块上。变更倾向预测模型可以通过使用源代码度量作为机器学习分类框架内的预测器或特征来构建。在本文中,二十一个源代码的度量计算开发一个统计模型预测变化倾向的模块。由于易变性模型的性能取决于源代码度量,因此它们被用作易变性模型的自变量或预测因子。十一种不同的特征选择技术(包括使用所有的$21$提出的源代码中描述的指标)被用来删除不相关的功能,并选择最好的功能集。使用18种不同的分类技术和三种集成技术来评估源代码度量的有效性。实验结果表明,基于特征选择技术的源代码度量集的预测模型比基于所有源代码度量集的预测模型具有更好的预测效果。我们的实验结果表明,使用LSSVM-RBF开发的预测模型产生更好的结果相比,其他分类技术
英文摘要:
Change-prone classes or modules are defined as software components in the source code which are likely to change in the future. Change-proneness prediction is useful to the maintenance team as they can optimize and focus their testing resources on the modules which have a higher likelihood of change. Change-proneness prediction model can be built by using source code metrics as predictors or features within a machine learning classification framework. In this paper, twenty one source code metrics are computed to develop a statistical model for predicting change-proneness modules. Since the performance of the change-proneness model depends on the source code metrics, they are used as independent variables or predictors for the change-proneness model. Eleven different feature selection techniques (including the usage of all the $21$ proposed source code metrics described in the paper) are used to remove irrelevant features and select the best set of features. The effectiveness of the set of source code metrics are evaluated using eighteen different classiffication techniques and three ensemble techniques. Experimental results demonstrate that the model based on selected set of source code metrics after applying feature selection techniques achieves better results as compared to the model using all source code metrics as predictors. Our experimental results reveal that the predictive model developed using LSSVM-RBF yields better result as compared to other classification techniques
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。