Formalising behaviour preserving program transformations

被引:0
|
作者
Mens, T [1 ]
Demeyer, S [1 ]
Janssens, D [1 ]
机构
[1] Univ Instelling Antwerp, Dept Math & Comp Sci, B-2610 Wilrijk, Belgium
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The notion of refactoring-transforming the source-code of an object-oriented program without changing its external behaviour has increased the need for a precise definition of refactorings and their properties. This paper introduces a graph representation of those aspects of the source code that should be preserved by a refactoring, and graph rewriting rules as a formal specification for the refactoring transformations themselves. To this aim, we use type graphs, forbidden subgraphs, embedding mechansims, negative application conditions and controlled graph rewriting. We show that it is feasible to reason about the effect of refactorings on object-oriented programs independently of the programming language being used. This is crucial for the next generation of refactoring tools.
引用
收藏
页码:286 / 301
页数:16
相关论文
共 50 条
  • [1] Formalising behaviour trees with CSP
    Winter, K
    [J]. INTEGRATED FORMAL METHODS, PROCEEDINGS, 2004, 2999 : 148 - 167
  • [2] Formalising the role of behaviour in neuroscience
    Piantadosi, Steven T.
    Gallistel, Charles R.
    [J]. EUROPEAN JOURNAL OF NEUROSCIENCE, 2024, 60 (05) : 4756 - 4770
  • [3] Formalising graphical behaviour descriptions
    Turner, KJ
    [J]. ALGEBRAIC METHODOLOGY AND SOFTWARE TECHNOLOGY: PROCEEDINGS, 2004, 3116 : 537 - 552
  • [4] On the generalizability of Neural Program Models with respect to semantic-preserving program transformations
    Rabin, Md Rafiqul Islam
    Bui, Nghi D. Q.
    Wang, Ke
    Yu, Yijun
    Jiang, Lingxiao
    Alipour, Mohammad Amin
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 135
  • [5] On the generalizability of Neural Program Models with respect to semantic-preserving program transformations
    Rabin, Md Rafiqul Islam
    Bui, Nghi D.Q.
    Wang, Ke
    Yu, Yijun
    Jiang, Lingxiao
    Alipour, Mohammad Amin
    [J]. Information and Software Technology, 2021, 135
  • [6] From UML activities to TAAL - Towards behaviour-preserving model transformations
    Engels, Gregor
    Kleppe, Anneke
    Rensink, Arend
    Semenyak, Maria
    Soltenborn, Christian
    Wehrheim, Heike
    [J]. MODEL DRIVEN ARCHITECTURE - FOUNDATIONS AND APPLICATIONS, PROCEEDINGS, 2008, 5095 : 94 - +
  • [7] On Preserving the Computational Content of Mathematical Proofs: Toy Examples for a Formalising Strategy
    Koutsoukou-Argyraki, Angeliki
    [J]. CONNECTING WITH COMPUTABILITY, 2021, 12813 : 285 - 296
  • [8] Arc preserving transformations
    Whyburn, GT
    [J]. AMERICAN JOURNAL OF MATHEMATICS, 1936, 58 : 305 - 312
  • [9] Statfier: Automated Testing of Static Analyzers via Semantic-Preserving Program Transformations
    Zhang, Huaien
    Pei, Yu
    Chen, Junjie
    Tan, Shin Hwei
    [J]. PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 237 - 249
  • [10] Formalising process scheduling requirements for an aircraft operational flight program
    Dong, JS
    Fulton, N
    Zucconi, L
    Colton, J
    [J]. FIRST IEEE INTERNATIONAL CONFERENCE ON FORMAL ENGINEERING METHODS, PROCEEDINGS, 1997, : 161 - 168