首页> 外文会议>Advances in software engineering techniques. >Reducing the Class Coupling of Legacy Code by a Metrics-Based Relocation of Class Members
【24h】

Reducing the Class Coupling of Legacy Code by a Metrics-Based Relocation of Class Members

机译:通过基于度量的类成员重定位减少传统代码的类耦合

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

摘要

With the rapid growth of the complexity of software systems, the problem of integrating and maintaining legacy software is more relevant than ever. To overcome this problem, many methods for refactoring legacy code have already been proposed such as renaming classes or extracting interfaces. To per form a real modularization, methods have to be moved between classes. However, moving a single method is often not possible due to code dependencies. In this article we present an approach to modularize legacy software by mov ing multiple related class members. It is shown how to identify groups of class members with similar concerns. We present two different code patterns that the related members and their dependent classes must match to allow a relocation of the related members. We also demonstrate how our pattern-based approach for automated modularization of legacy software can be applied to two open source projects.
机译:随着软件系统复杂性的快速增长,集成和维护旧版软件的问题比以往任何时候都更加重要。为了克服这个问题,已经提出了许多用于重构遗留代码的方法,例如重命名类或提取接口。为了执行真正的模块化,必须在类之间移动方法。但是,由于代码依赖性,通常无法移动单个方法。在本文中,我们提出了一种通过移动多个相关的类成员来对遗留软件进行模块化的方法。它显示了如何识别具有相似关注点的班级成员组。我们提供了两种不同的代码模式,相关成员及其依赖类必须匹配,以允许相关成员的重定位。我们还将演示如何将基于模式的遗留软件自动模块化方法应用于两个开源项目。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号