【24h】

A model-based approach to software refactoring

机译:基于模型的软件重构方法

获取原文

摘要

Refactoring is a key activity for any software system, as it ensures that the system is easily maintainable and extensible. However, complex refactorings (restructurings) are largely performed by hand, as there are no automated means of chaining existent basic refactorings. In addition, developers cannot quickly and safely evaluate the effects of a restructuring solution over another. In this context, we introduce a model-based approach to software refactoring, which provides an easy and safe way to explore restructuring alternatives. Restructurings are written as a composition of low-level model transformations, making them reusable in different complex refactorings. In order to support our approach, we implemented a tool named reFactor, which aims to bridge the gap between design flaw detection and correction. It detects design problems and offers a platform to compose model transformations into composite restructurings, while permanently monitoring the overall quality of the code.
机译:重构是任何软件系统的关键活动,因为它可以确保系统易于维护和扩展。但是,复杂的重构(重组)大部分是手工执行的,因为没有自动的方法将现有的基本重构链接在一起。此外,开发人员无法快速,安全地评估重组解决方案相对于其他解决方案的效果。在这种情况下,我们引入了一种基于模型的软件重构方法,该方法提供了一种简单而安全的方法来探索重组方法。重组被编写为低级模型转换的组成部分,从而使它们可以在不同的复杂重构中重复使用。为了支持我们的方法,我们实施了一个名为reFactor的工具,该工具旨在弥合设计缺陷检测与纠正之间的差距。它可以检测设计问题,并提供一个平台,可将模型转换组成复合重组,同时永久监控代码的整体质量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号