首页> 外文会议>Asia-Pacific Software Engineering Conference >Suggesting Extract Class Refactoring Opportunities by Measuring Strength of Method Interactions
【24h】

Suggesting Extract Class Refactoring Opportunities by Measuring Strength of Method Interactions

机译:通过测量方法交互作用的强度来建议提取类重构机会

获取原文

摘要

For improving the modularity of a large software system, metrics can be valuable to help finding refactoring opportunities for classes. We define a novel metric that is intended to suggest how closely connected are the elements of a class. The metric characterises the strength of the coupling between methods of a class, based on invocations and the size of the parameters involved, as well as attribute accesses. The assessment of the strength of interactions turns out to be valuable in providing an indication on the possible changes that classes need to become more modular and prone to be reused. According to the computed metric and the assessment of system-wide relationships between classes, we are able to suggest Extract Class refactoring opportunities. The capability of the proposed approach to evaluate object-oriented systems is demonstrated by analysing a large software system.
机译:为了改善大型软件系统的模块化,度量标准可能对帮助找到类的重构机会非常有用。我们定义了一种新颖的度量标准,旨在暗示类的各个元素之间的紧密联系。度量基于调用和所涉及参数的大小以及属性访问来表征类的方法之间的耦合强度。事实证明,对交互强度的评估对于指示类需要变得更加模块化和易于重用的可能变化提供了有价值的参考。根据计算出的度量标准和对类之间的系统范围关系的评估,我们能够提出“提取类”重构机会。通过分析大型软件系统,证明了所提出方法评估面向对象系统的能力。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号