...
首页> 外文期刊>The Journal of Systems and Software >JMove: A novel heuristic and tool to detect move method refactoring opportunities
【24h】

JMove: A novel heuristic and tool to detect move method refactoring opportunities

机译:JMove:一种新颖的启发式方法和工具,用于检测移动方法重构的机会

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

摘要

This paper presents a recommendation approach that suggests Move Method refactorings using the static dependencies established by methods. This approach, implemented in a publicly available tool called JMove, compares the similarity of the dependencies established by a method with the dependencies established by the methods in possible target classes. We first evaluate JMove using 195 Move Method refactoring opportunities, synthesized in 10 open-source systems. In this evaluation, JMove precision ranges from 21% (small methods) to 32% (large methods) and its median recall ranges from 21% (small methods) to 60% (large methods). In the same scenario, JDeodorant, which is a state-of-the-art Move Method recommender, has a maximal precision of 15% (large methods) and a maximal median recall of 40% (small methods). Therefore, we claim that JMove is specially useful to provide recommendations for large methods. We reinforce this claim by means of two other studies. First, by investigating the overlapping of the recommendations provided by JMove and three other recommenders (JDeodorant, inCode, and Methodbook). Second, by validating JMove and JDeodorant recommendations with experts in two industrial-strength systems.
机译:本文提出了一种建议方法,该方法建议使用方法建立的静态依赖项进行移动方法重构。这种方法在称为JMove的公共可用工具中实施,将方法建立的依赖项与可能的目标类中方法建立的依赖项的相似性进行比较。我们首先使用195个移动方法重构机会(在10个开源系统中综合得出)来评估JMove。在此评估中,JMove的精度范围为21%(小型方法)至32%(大型方法),中值召回范围为21%(小型方法)至60%(大型方法)。在相同的情况下,JDeodorant是最新的“移动方法”推荐器,其最大精度为15%(大型方法),最大中值召回率为40%(小型方法)。因此,我们认为JMove对于提供大型方法的建议特别有用。我们通过其他两项研究进一步证实了这一说法。首先,通过调查JMove和其他三个推荐者(JDeodorant,inCode和Methodbook)提供的推荐的重叠。其次,与两个工业强度系统的专家一起验证JMove和JDeodorant的建议。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号