A Query-based Approach for Verifying UML Class Diagrams with OCL Invariants

被引:2
作者
Wu, Hao [1 ]
机构
[1] Maynooth Univ, Comp Sci Dept, Maynooth, Kildare, Ireland
来源
JOURNAL OF OBJECT TECHNOLOGY | 2022年 / 21卷 / 03期
关键词
Query; OCL; Concurrency; VERIFICATION; MODELS;
D O I
10.5381/jot.2022.21.3.a7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Verifying whether a UML class diagram is consistent involves finding valid instances that provably meet its constraints defined in Object Constraint Language (OCL). Recent studies have shown that many existing tools and techniques not only can find valid instances but also pinpoint the conflicts among the OCL constraints. However, they do not scale well and are often unable to locate the conflicts when the number of OCL constraints significantly increases. In this paper, we present a novel approach that is capable of verifying UML class diagrams with a large number of OCL constraints. Our approach has two distinct features: (1) it provides a query language that allows users to choose parts of a UML class diagram to be verified. (2) a new algorithm that can handle an extreme size of OCL invariants via concurrent verification. We have implemented a new automated tool called: QMaxUSE. The evaluation results suggest that QMaxUSE has the potential to be adapted by industry and offers up to 30x efficiency improvement in verifying UML class diagrams with a large number of OCL constraints.
引用
收藏
页数:17
相关论文
共 62 条
  • [1] Ali S, 2014, LECT NOTES COMPUT SC, V8769, P223, DOI 10.1007/978-3-319-11743-0_16
  • [2] Anastasakis K, 2007, LECT NOTES COMPUT SC, V4735, P436
  • [3] On challenges of model transformation from UML to Alloy
    Anastasakis, Kyriakos
    Bordbar, Behzad
    Georg, Geri
    Ray, Indrakshi
    [J]. SOFTWARE AND SYSTEMS MODELING, 2010, 9 (01) : 69 - 86
  • [4] Model-driven development:: A metamodeling foundation
    Atkinson, C
    Kühne, T
    [J]. IEEE SOFTWARE, 2003, 20 (05) : 36 - +
  • [5] Finite Satisfiability of UML Class Diagrams with Constrained Class Hierarchy
    Balaban, Mira
    Maraee, Azzam
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2013, 22 (03) : 1 - 42
  • [6] Reasoning on UML class diagrams
    Berardi, D
    Calvanese, D
    De Giacomo, G
    [J]. ARTIFICIAL INTELLIGENCE, 2005, 168 (1-2) : 70 - 118
  • [7] Booch G, 2005, The unified modeling language user guide
  • [8] Buttner Fabian, 2012, Model Driven Engineering Languages and Systems. Proceedings 15th International Conference, MODELS 2012, P432, DOI 10.1007/978-3-642-33666-9_28
  • [9] On the verification of UML/OCL class diagrams using constraint programming
    Cabot, J.
    Clariso, R.
    Riera, D.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 93 : 1 - 23
  • [10] Cabot J., 2007, P 22 IEEEACM INT C A, P547