首页> 外文会议>2013 20th Working Conference on Reverse Engineering >Recommending Move Method refactorings using dependency sets
【24h】

Recommending Move Method refactorings using dependency sets

机译:使用依赖集推荐Move方法重构

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

摘要

Methods implemented in incorrect classes are common bad smells in object-oriented systems, especially in the case of systems maintained and evolved for years. To tackle this design flaw, we propose a novel approach that recommends Move Method refactorings based on the set of static dependencies established by a method. More specifically, our approach compares the similarity of the dependencies established by a source method with the dependencies established by the methods in possible target classes. We evaluated our approach using systems from a compiled version of the Qualitas Corpus. We report that our approach provides an average precision of 60.63% and an average recall of 81.07%. Such results are, respectively, 129% and 49% better than the results achieved by JDeodorant, a well-known move method recommendation system.
机译:在不正确的类中实现的方法在面向对象的系统中是常见的恶臭,尤其是在维护和发展了多年的系统中。为了解决这个设计缺陷,我们提出了一种新颖的方法,该方法基于由方法建立的一组静态依赖项,建议“移动方法”重构。更具体地说,我们的方法将源方法建立的依赖性与方法在可能的目标类中建立的依赖性的相似性进行比较。我们使用Qualitas Corpus编译版本的系统评估了我们的方法。我们报告说,我们的方法可提供60.63%的平均精度和81.07%的平均召回率。这样的结果分别比著名的移动方法推荐系统JDeodorant获得的结果好129%和49%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号