A Logic-Based Framework for Detecting Inconsistencies of UML Models
Open Access
- 23 June 2026
- journal article
- research article
- Published by MDPI AG in Information
- Vol. 17 (7) , 620
Abstract
Software modeling involves creating multiple software models that represent different viewpoints of the system under development. These models complement one another and should remain coherent throughout the development process, as they represent a single system. Ensuring consistency across different models is crucial for building high-quality software within time and budget constraints. Existing research on consistency management primarily focuses on structural consistency and covers only a subset of UML models. In this paper, we propose a logic-based framework for detecting inconsistencies in basic UML models. We develop a comprehensive metamodel of basic UML models that addresses both structural and semantic relations among metamodel elements. Furthermore, we define new consistency rules for use within the framework to detect various types of inconsistency. The proposed framework is validated using a formal logic-based modeling language and evaluated using two case studies. Compared with existing approaches, the proposed framework provides more comprehensive coverage of inconsistencies. Experimental results demonstrate the effectiveness of the proposed framework in detecting various types of inconsistencies.Keywords
This publication has 17 references indexed in Scilit:
- The Power of Models for Software Engineering2024
- A Tool for Collaborative Consistency Checking During Modeling2024
- AI-Driven Consistency of SysML Diagrams2024
- Validation of Formal Models: A Case Study2024
- A Formal Approach for Consistency Management in UML ModelsInternational Journal of Software Engineering and Knowledge Engineering, 2023
- A formal approach to finding inconsistencies in a metamodelSoftware and Systems Modeling, 2021
- UML Consistency Rules2020
- AlloyInEcore: embedding of first-order relational logic into meta-object facility for automated model reasoning2018
- A systematic identification of consistency rules for UML diagramsJournal of Systems and Software, 2018
- A Survey of Consistency Checking Techniques for UML Models2008