• DocumentCode
    3698398
  • Title

    Extracting frame conditions from operation contracts

  • Author

    Philipp Niemann;Frank Hilken;Martin Gogolla;Robert Wille

  • Author_Institution
    Department of Computer Science, University of Bremen, 28359, Germany
  • fYear
    2015
  • Firstpage
    266
  • Lastpage
    275
  • Abstract
    In behavioral modeling, operation contracts defined by pre- and postconditions describe the effects on model properties (i.e., model elements such as attributes, links, etc.) that are enforced by an operation. However, it is usually omitted which model properties should not be modified. Defining so-called frame conditions can fill this gap. But, thus far, these have to be defined manually - a time-consuming task. In this work, we propose a methodology which aims to support the modeler in the definition of the frame conditions by extracting suggestions based on an automatic analysis of operation contracts provided in OCL. More precisely, the proposed approach performs a structural analysis of pre- and postconditions together with invariants in order to categorize which class and object properties are clearly “variable” or “unaffected” - and which are “ambiguous”, i.e. indeed require a more thorough inspection. The developed concepts are implemented as a prototype and evaluated by means of several example models known from the literature.
  • Keywords
    "Unified modeling language","Context","Contracts","Computational modeling","Adaptation models","Analytical models","Prototypes"
  • Publisher
    ieee
  • Conference_Titel
    Model Driven Engineering Languages and Systems (MODELS), 2015 ACM/IEEE 18th International Conference on
  • Type

    conf

  • DOI
    10.1109/MODELS.2015.7338257
  • Filename
    7338257