A formal approach to finding inconsistencies in a metamodel



Wu, Hao and Farrell, Marie ORCID: 0000-0001-7708-3877
(2021) A formal approach to finding inconsistencies in a metamodel. Software and Systems Modeling, 20 (4). pp. 1271-1298.

[img] Text
Wu-Farrell2021_Article_AFormalApproachToFindingIncons.pdf - Published version

Download (2MB) | Preview

Abstract

Checking the consistency of a metamodel involves finding a valid metamodel instance that provably meets the set of constraints that are defined over the metamodel. These constraints are often specified in Object Constraint Language. Often, a metamodel is inconsistent due to conflicts among the constraints. Existing approaches and tools are typically incapable of pinpointing the conflicting constraints, and this makes it difficult for users to debug and fix their metamodels. In this paper, we present a formal approach for locating conflicting constraints in inconsistent metamodels. Our approach has four distinct features: (1) users can rank individual metamodel features using their own domain-specific knowledge, (2) we transform these ranked features to a weighted maximum satisfiability modulo theories problem and solve it to compute the set of maximum achievable features, (3) we pinpoint the conflicting constraints by solving the set cover problem using a novel algorithm, and (4) we have implemented our approach into a fully automated tool called MaxUSE. Our evaluation results, using our assembled set of benchmarks, demonstrate the scalability of our work and that it is capable of efficiently finding conflicting constraints.

Item Type: Article
Uncontrolled Keywords: Metamodel, Conflicts, SMT
Divisions: Faculty of Science and Engineering > School of Electrical Engineering, Electronics and Computer Science
Depositing User: Symplectic Admin
Date Deposited: 28 May 2021 10:58
Last Modified: 18 Jan 2023 22:37
DOI: 10.1007/s10270-020-00849-8
Related URLs:
URI: https://livrepository.liverpool.ac.uk/id/eprint/3124353