首页> 外文会议>IEEE/ACM International Conference on Software Engineering: Companion >Poster: Machine Learning Based Code Smell Detection Through WekaNose
【24h】

Poster: Machine Learning Based Code Smell Detection Through WekaNose

机译:海报:机器学习的代码闻到Wekanose的味道

获取原文

摘要

Code smells can be subjectively interpreted, the results provided by detectors are usually different, the agreement in the results is scarce, and a benchmark for the comparison of these results is not yet available. The main approaches used to detect code smells are based on the computation of a set of metrics. However code smell detectors often use different metrics and/or different thresholds, according to their detection rules. As result of this inconsistency the number of detected smells can increase or decrease accordingly, and this makes hard to understand when, for a specific software, a certain characteristic identifies a code smell or not. In this work, we introduce WekaNose, a tool that allows to perform an experiment to study code smell detection through machine learning techniques. The experiment's purpose is to select rules, and/or obtain trained algorithms, that can classify an instance (method or class) as affected or not by a code smell. These rules have the main advantage of being extracted through an example-based approach, rather then a heuristic-based one.
机译:代码嗅觉可以是主观解释的,探测器提供的结果通常是不同的,结果中的协议是稀缺的,并且尚未使用这些结果的基准。用于检测代码气味的主要方法是基于一组指标的计算。然而,根据其检测规则,代码气味探测器通常使用不同的度量和/或不同的阈值。由于这种不一致的结果,检测到的嗅觉的数量可以相应地增加或减少,这很难理解,对于特定软件,某个特征识别代码气味。在这项工作中,我们引入了Wekanose,这是一种工具,该工具允许通过机器学习技术进行研究代码嗅觉检测的实验。实验的目的是选择规则和/或获取培训的算法,可以将实例(方法或类)分类为受影响的代码气味。这些规则具有通过基于示例的方法提取的主要优点,而是基于启发式的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号