Refactoring to improve the understandability of specifications written in object constraint language

被引:7
|
作者
Correa, A. [1 ]
Werner, C. [1 ]
Barros, M. [2 ]
机构
[1] Univ Fed Rio de Janeiro, COPPE, BR-21945970 Rio De Janeiro, Brazil
[2] Univ Fed Estado Rio de Janeiro, PPGI, BR-22290240 Rio De Janeiro, Brazil
关键词
OCL;
D O I
10.1049/iet-sen.2008.0022
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Object constraint language (OCL) is the object management group standard language for the precise specification of constraints associated with MetaObject facility specification-compliant models and metamodels. Although OCL has been created with the intention of being a simpler language when compared with traditional formal specification languages, it is common to find specifications containing OCL constraints that are difficult to understand and evolve. A set of potential problematic constructions often found in specifications written in OCL and a set of refactorings that can be applied to remove them are presented. We present an experimental study that has been performed to evaluate the effects of applying those strategies on the understandability of OCL specifications. The approach to provide automated support for OCL refactorings is also discussed.
引用
收藏
页码:69 / 90
页数:22
相关论文
共 50 条
  • [1] Refactoring object constraint language specifications
    Alexandre Correa
    Cláudia Werner
    [J]. Software & Systems Modeling, 2007, 6 : 113 - 138
  • [2] Refactoring object constraint language specifications
    Correa, Alexandre
    Werner, Claudia
    [J]. SOFTWARE AND SYSTEMS MODELING, 2007, 6 (02): : 113 - 138
  • [3] Refactoring object-Z specifications
    McComb, T
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2004, 2984 : 69 - 83
  • [4] Refactoring object-oriented specifications with data and processes
    Ruhroth, Thomas
    Wehrheim, Heike
    [J]. FORMAL METHODS FOR OPEN OBJECT-BASED DISTRIBUTED SYSTEMS, PROCEEDINGS, 2007, 4468 : 236 - +
  • [5] A Refactoring Constraint Language and Its Application to Eiffel
    Steimann, Friedrich
    Kollee, Christian
    von Pilgrim, Jens
    [J]. ECOOP 2011 - OBJECT-ORIENTED PROGRAMMING, 2011, 6813 : 255 - 280
  • [6] Using rule overriding to improve reusability and understandability of Dynamic Meta Modeling specifications
    Soltenborn, Christian
    Engels, Gregor
    [J]. JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2011, 22 (03): : 233 - 250
  • [7] Interpreting the object constraint language
    Hamie, A
    Howse, J
    Kent, S
    [J]. 1998 ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 1998, : 288 - 295
  • [8] Reflections on the object constraint language
    Hamie, A
    Civello, F
    Howse, J
    Kent, S
    Mitchell, R
    [J]. UNIFIED MODELING LANGUAGE: UML'98: BEYOND THE NOTATION, 1999, 1618 : 162 - 172
  • [9] Implementing Relational Specifications in a Constraint Functional Logic Language
    Berghammer, Rudolf
    Fischer, Sebastian
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 177 (01) : 169 - 183
  • [10] An introduction to the Object Constraint Language (OCL)
    Kleppe, A
    Warmer, J
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES - TOOLS 33, PROCEEDINGS, 2000, : 456 - 456