首页> 外文会议>IEEE Annual Computer Software and Applications Conference >A Feature Envy Detection Method Based on Dataflow Analysis
【24h】

A Feature Envy Detection Method Based on Dataflow Analysis

机译:一种基于DataFlow分析的特征envy检测方法

获取原文

摘要

Feature Envy is a code smell indicating that a particular class is showing too much interest in the methods/attributes of another class. Several feature-envy detection approaches have been proposed. However, these approaches consider an entire method as a unit for detection. When a method is lengthy, the exact location of the problematic statement may not be immediately obvious, and when a method mixes several kinds of behaviors, these approaches could be easily fooled. This paper proposes a characterization of feature envy and a detection approach. A tool, called FEED (FEature Envy Detector), based on dataflow analysis is developed to perform feature-envy detection. In comparison to previous approaches, the proposed approach offers a better detection granularity and also provides a better detection accuracy.
机译:特征envy是一个代码嗅觉,指示特定类对另一个类的方法/属性显示过多的兴趣。已经提出了几种特征羡慕的检测方法。然而,这些方法将整个方法视为检测单元。当方法冗长时,有问题陈述的确切位置可能不会立即显而易见,并且当方法混合几种行为时,这些方法可能很容易被愚弄。本文提出了特征羡慕的表征和检测方法。基于DataFlow分析,开发了一种名为Feed(特征envy检测器)的工具,以执行功能嫉妒检测。与以前的方法相比,所提出的方法提供更好的检测粒度,并提供更好的检测精度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号