International Journal Peer-reviewed

Using Hierarchical Transformation to Generate Assertion Code from OCL Constraints

Rodion Moiseev, Shinpei Hayashi, Motoshi Saeki

IEICE Transactions on Information and Systems, vol. E94-D, no. 3, pp. 612–621, March 2011.

Abstract

Object Constraint Language (OCL) is frequently applied in software development for stipulating formal constraints on software models. Its platform-independent characteristic allows for wide usage during the design phase. However, application in platform-specific processes, such as coding, is less obvious because it requires usage of bespoke tools for that platform. In this paper we propose an approach to generate assertion code for OCL constraints for multiple platform specific languages, using a unified framework based on structural similarities of programming languages. We have succeeded in automating the process of assertion code generation for four different languages using our tool. To show effectiveness of our approach in terms of development effort, an experiment was carried out and summarised.

BibTeX

@article{rodion-ieicet201103,
    author = {Rodion Moiseev and Shinpei Hayashi and Motoshi Saeki},
    title = {Using Hierarchical Transformation to Generate  Assertion Code from OCL Constraints},
    journal = {IEICE Transactions on Information and Systems},
    volume = {E94-D},
    number = 3,
    pages = {612--621},
    doi = {10.1587/transinf.E94.D.612},
    year = 2011,
}
Type
International Journal
Published
March 2011
Volume / Pages
vol. E94-D, no. 3, pp. 612–621
DOI
10.1587/transinf.E94.D.612