...
首页> 外文期刊>International Journal of Rough Sets and Date Analysis >Detection of Shotgun Surgery and Message Chain Code Smells using Machine Learning Techniques
【24h】

Detection of Shotgun Surgery and Message Chain Code Smells using Machine Learning Techniques

机译:使用机器学习技术检测Shot弹枪手术和消息链代码的气味

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

获取外文期刊封面封底 >>

       

摘要

Code smell is an inherent property of software that results in design problems which makes the software hard to extend, understand, and maintain. In the literature, several tools are used to detect code smell that are informally defined or subjective in nature due to varying results of the code smell. To resolve this, machine leaning (ML) techniques are proposed and learn to distinguish the characteristics of smelly and non-smelly code elements (classes or methods). However, the dataset constructed by the ML techniques are based on the tools and manually validated code smell samples. In this article, instead of using tools and manual validation, the authors considered detection rules for identifying the smell then applied unsupervised learning for validation to construct two smell datasets. Then, applied classification algorithms are used on the datasets to detect the code smells. The researchers found that all algorithms have achieved high performance in terms of accuracy, F-measure and area under ROC, yet the tree-based classifiers are performing better than other classifiers.
机译:代码气味是软件的固有属性,会导致设计问题,从而使软件难以扩展,理解和维护。在文献中,由于代码气味的变化结果,使用了几种工具来检测非正式地定义或主观的代码气味。为了解决这个问题,提出了机器学习(ML)技术,并学会区分有气味和无气味的代码元素(类或方法)的特征。但是,通过ML技术构造的数据集是基于工具和手动验证的代码气味样本的。在本文中,作者考虑使用检测规则来识别气味,而不是使用工具和手动验证,然后应用无监督学习进行验证,以构建两个气味数据集。然后,在数据集上使用应用的分类算法来检测代码气味。研究人员发现,所有算法在ROC下的准确性,F度量和面积方面均取得了高性能,但是基于树的分类器的性能要优于其他分类器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号