Refactoring OCL annotated UML class diagrams

被引:32
|
作者
Markovic, Slavisa [1 ]
Baar, Thomas [1 ]
机构
[1] Ecole Polytech Fed Lausanne, Sch Comp & Commun Sci, CH-1015 Lausanne, Switzerland
来源
SOFTWARE AND SYSTEMS MODELING | 2008年 / 7卷 / 01期
关键词
refactoring; QVT; imperative OCL; graph-transformations; syntax preserving refactoring rules; source code verification;
D O I
10.1007/s10270-007-0056-x
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Refactoring of UML class diagrams is an emerging research topic and heavily inspired by refactoring of program code written in object-oriented implementation languages. Current class diagram refactoring techniques concentrate on the diagrammatic part but neglect OCL constraints that might become syntactically incorrect by changing the underlying class diagram. This paper formalizes the most important refactoring rules for class diagrams and classifies them with respect to their impact on attached OCL constraints. For refactoring rules that have an impact on OCL constraints, we formalize the necessary changes of the attached constraints. Our refactoring rules are specified in a graph-grammar inspired formalism. They have been implemented as QVT transformation rules. We finally discuss for our refactoring rules the problem of syntax preservation and show, by using the KeY-system, how this can be resolved.
引用
收藏
页码:25 / 47
页数:23
相关论文
共 50 条
  • [1] Refactoring OCL annotated UML class diagrams
    Slaviša Marković
    Thomas Baar
    Software & Systems Modeling, 2008, 7 : 25 - 47
  • [2] Refactoring OCL annotated UML class diagrams
    Markovic, SA
    Baar, T
    MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3713 : 280 - 294
  • [3] Translating Alloy Specifications to UML Class Diagrams Annotated with OCL
    Garis, Ana
    Cunha, Alcino
    Riesco, Daniel
    SOFTWARE ENGINEERING AND FORMAL METHODS, 2011, 7041 : 221 - +
  • [4] Translating between Alloy specifications and UML class diagrams annotated with OCL
    Alcino Cunha
    Ana Garis
    Daniel Riesco
    Software & Systems Modeling, 2015, 14 : 5 - 25
  • [5] Translating between Alloy specifications and UML class diagrams annotated with OCL
    Cunha, Alcino
    Garis, Ana
    Riesco, Daniel
    SOFTWARE AND SYSTEMS MODELING, 2015, 14 (01): : 5 - 25
  • [6] Reasoning on UML class diagrams with OCL constraints
    Queralt, Anna
    Teniente, Ernest
    CONCEPTUAL MODELING - ER 2006, PROCEEDINGS, 2006, 4215 : 497 - +
  • [7] Expressing UML class diagrams properties with OCL
    Gogolla, M
    Richters, M
    OBJECT MODELING WITH THE OCL: THE RATIONALE BEHIND THE OBJECT CONSTRAINT LANGUAGE, 2002, 2263 : 85 - 114
  • [8] A feedback technique for unsatisfiable UML/OCL class diagrams
    Shaikh, Asadullah
    Wiil, Uffe Kock
    SOFTWARE-PRACTICE & EXPERIENCE, 2014, 44 (11): : 1379 - 1393
  • [9] Model and Criteria for the Automated Refactoring of the UML Class Diagrams
    Nikulchev, Evgeny
    Deryugina, Olga
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (12) : 76 - 79
  • [10] On the verification of UML/OCL class diagrams using constraint programming
    Cabot, J.
    Clariso, R.
    Riera, D.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 93 : 1 - 23