首页> 外文会议>2018 IEEE/ACM 40th 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号