首页    期刊浏览 2024年09月20日 星期五
登录注册

文章基本信息

  • 标题:Reduction of Multiple Move Method Suggestions Using Total Call-Frequencies of Distinct Entities
  • 本地全文:下载
  • 作者:Atish Kumar Dipongkor ; Rayhanul Islam ; Nadia Nahar
  • 期刊名称:International Journal of Information Engineering and Electronic Business
  • 印刷版ISSN:2074-9023
  • 电子版ISSN:2074-9031
  • 出版年度:2020
  • 卷号:12
  • 期号:4
  • 页码:21-29
  • DOI:10.5815/ijieeb.2020.04.03
  • 出版社:MECS Publisher
  • 摘要:Inappropriate placement of methods causes Feature Envy (FE) code smell and makes classes coupled with each other. To achieve cohesion among classes, FE code smell can be removed using automated Move Method Refactoring (MMR) suggestions. However, challenges arise when existing techniques provide multiple MMR suggestions for a single FE instance. The developers need to manually find an appropriate target classes for applying MMR as an FE instance cannot be moved to multiple classes. In this paper, a technique is proposed named MultiMMRSReducer, to reduce multiple MMR suggestions by considering the Total Call-Frequencies of Distinct Entities (TCFDE). Experimental results show that TCFDE can reduce the multiple MMR suggestions of an FE instance and performs 77.92% better than an existing approach, namely, JDeodorant. Moreover, it can ensure minimum future changes in the dependent classes of an FE instance.
  • 关键词:Feature Envy; Move Method Refactoring.
国家哲学社会科学文献中心版权所有