iOCL: An Interactive Tool for Specifying, Validating and Evaluating OCL Constraints

Abstract The Object Constraint Language (OCL) is commonly used for specifying additional constraints on models, in addition, to the ones enforced by the semantics of the models. However, a lot of practitioners and even researchers are reluctant in using OCL to some extent due to the lack of sufficient familiarity with OCL. To facilitate practitioners and researchers in specifying OCL constraints, we designed and developed a web-based tool called interactive OCL (iOCL) for interactively specifying constraints on a given model. The core idea behind iOCL is to present and display only relevant details (e.g., operations) of OCL to users at a given step of constraint specification process, in addition to helping modelers with its syntax. We evaluated iOCL using a real-world case study from Cancer Registry of Norway and the results showed that iOCL can significantly reduce the time required to specify OCL constraints and decrease the possibility of making syntactic errors during the specification process. Thus, we conclude that iOCL can facilitate the process of OCL constraint specification. Interested users can try iOCL at: http://iocl.zen-tools.com/ .

[1]  Sinan Si Alhir The Object Constraint Language (OCL) , 2002 .

[2]  Arnaud Gotlieb,et al.  A systematic test case selection methodology for product lines: results and insights from an industrial case study , 2014, Empirical Software Engineering.

[3]  Lionel C. Briand,et al.  Generating Test Data from OCL Constraints with Search Techniques , 2013, IEEE Transactions on Software Engineering.

[4]  Martin Gogolla Unified Modeling Language , 2009, Encyclopedia of Database Systems.

[5]  Li Zhang,et al.  Nonconformity Resolving Recommendations for Product Line Configuration , 2016, 2016 IEEE International Conference on Software Testing, Verification and Validation (ICST).

[6]  Shuai Wang,et al.  MBF4CR: A Model-Based Framework for Supporting an Automated Cancer Registry System , 2016, ECMFA.

[7]  Lionel C. Briand,et al.  Applying UML/MARTE on industrial projects: challenges, experiences, and guidelines , 2014, Software & Systems Modeling.

[8]  Tao Yue,et al.  Insights on the Use of OCL in Diverse Industrial Applications , 2014, SAM.

[9]  Marian Petre,et al.  UML in practice , 2013, 2013 35th International Conference on Software Engineering (ICSE).

[10]  Li Zhang,et al.  Model-based incremental conformance checking to enable interactive product configuration , 2016, Inf. Softw. Technol..