UML-compiler: a framework for syntactic and semantic verification of UML diagrams

  • Authors:
  • Jayeeta Chanda;Ananya Kanjilal;Sabnam Sengupta

  • Affiliations:
  • B.P. Poddar Institute of Management S Technology, Kolkata, India;B.P. Poddar Institute of Management S Technology, Kolkata, India;B.P. Poddar Institute of Management S Technology, Kolkata, India

  • Venue:
  • ICDCIT'10 Proceedings of the 6th international conference on Distributed Computing and Internet Technology
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

UML being semi formal in nature, it lacks formal syntax and hence automated verification of design specifications cannot be done. To address this we propose a UML Compiler that takes context free grammars for UML diagrams and verifies the syntactic correctness of the individual diagrams and semantic correctness in terms of consistency verification with other diagrams. This UML-Compiler is a part of a framework, which consists of two modules. First module converts XMI format of UML diagrams, as generated by any standard tool into string format and second module (UML-Compiler) is for verification of the diagrams. This paper focuses on the second module and proposes a formal context free grammar for the two of the commonly used UML diagrams - Class diagram (depicting the static design) and sequence diagram (depicting behavioral design) and validated by using Lex and YACC.