Document Type : Original Article
Authors
1 Department of Algorithms and Computation, College of Engineering Sciences, University of Tehran, Tehran, Iran
2 Aerospace Research Institute (Ministry of Science, Research and Technology); Department of Aerospace Management, Law and Standards; Tehran, P.O.B 14665-834, Iran
Abstract
Software plays a critical role in controlling the behavior of mechanical and electrical systems, as well as facilitating interactions among their components in cyber-physical systems (CPS). The risks associated with CPS systems can lead to the loss of functionality, performance, and even jeopardize human lives. Therefore, ensuring the reliability of software through comprehensive testing is of paramount importance in detecting and preventing potential errors. To achieve this objective, various methods and tools are employed to assess both the static and dynamic behavior of object-oriented software systems. One commonly used tool in the Unified Modeling Language (UML) is the state chart diagram, which visually represents the dynamic behavior of an object-oriented system. These diagrams depict the transitions and actions that occur as an object changes its state, driven by various inputs. To validate the accuracy of UML state chart diagrams, this paper proposes a method utilizing Finite State Machines (FSM) and Transition Tables. By creating a Transition Table, the UML state chart diagram can be effectively validated. To evaluate the proposed method, a set of Test Cases has been generated and applied to a real case study, ensuring the accuracy and reliability of the UML state chart diagram.
Keywords