Journal of Beijing University of Posts and Telecommunications

  • EI核心期刊

JOURNAL OF BEIJING UNIVERSITY OF POSTS AND TELECOM ›› 2019, Vol. 42 ›› Issue (4): 70-75.doi: 10.13190/j.jbupt.2018-283

• Papers • Previous Articles     Next Articles

Consistency Checking Between UML Models and Code Based on Graph Theory and FSM

WANG Lei   

  1. School of Mechanical Electronic and Information Engineering, China University of Mining and Technology, Beijing 100083, China
  • Received:2018-11-16 Online:2019-08-28 Published:2019-08-26

Abstract: A unified modeling language (UML) model and code consistency checking method based on graph theory and finite state machine (FSM) was proposed. The basic idea of this method was given; the static consistency checking and the dynamic consistency checking algorithms between UML models and code were discussed respectively; a support tool for this method was implemented, and C++ project UMLChecker 1.0 was checked by using this tool. The experimental results show that this method can check consistency between UML models and code, and has a high checking accuracy. For consistency checking in behavioral aspects, checking accuracy rate is improved obviously.

Key words: consistency checking, checking accuracy, graph theory, finite state machine, software verification

CLC Number: