...
首页> 外文期刊>Journal of Software Maintenance and Evolution >Formalizing refactorings with graph transformations
【24h】

Formalizing refactorings with graph transformations

机译:通过图转换形式化重构

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

摘要

The widespread interest in refactoring—transforming the source-code of an object-oriented program without changing its external behaviour—has increased the need for a precise definition of refactoring transformations and their properties. In this paper we explore the use of graph rewriting for specifying refactorings and their effect on programs. We introduce a graph representation for programs and show how two representative refactorings can be expressed by graph productions. Then we demonstrate that it is possible to prove that refactorings preserve certain program properties, and that graph rewriting is a suitable formalism for such proofs.
机译:重构引起了广泛的兴趣,即在不更改外部对象行为的情况下转换面向对象程序的源代码,因此,人们需要对重构转换及其属性进行精确定义。在本文中,我们探索了使用图重写来指定重构及其对程序的影响。我们介绍了程序的图形表示,并显示了图形生成如何表示两个代表性的重构。然后,我们证明有可能证明重构保留了某些程序属性,并且图重写是此类证明的合适形式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号