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

Recommending Move Method refactorings using dependency sets

机译:使用依赖项集推荐移动方法重构

获取原文

摘要

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语料库的编译版本的系统评估了我们的方法。我们报告说,我们的方法提供了60.63%的平均精度,平均召回量为81.07%。这些结果分别比Jdeodorant,众所周知的移动方法推荐系统所实现的结果更好。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号