{'fraction_non_alphanumeric': 0.020038167938931296, 'fraction_numerical': 0.0, 'mean_word_length': 5.028735632183908, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
ASM Semantic Modeling and Checking for Sequence Diagram

UML sequence diagram is widely adopted in interactive software systems. Sequence diagram flexibly describes the process that message transfer among objects, is easy to understand but lacks precise definition of semantics. On the contrary, temporal logics or Z language can give semantic description, but they overly depend on logics, which makes it difficult to apply widely in industry. By combining rules with multi-agents, ASM can accurately define semantics but avoid the complexity of temporal logics and Z language. Also, by the intelligence of agents, control the model checking. It does not only refine the process level by level, but also is easy to understand and illustrate. We thus propose the ASM semantic model for sequence diagram in order to accurately describe the model’s characteristics and improve the testing process of large systems. In this paper, we give formal syntaxes and rule definitions. An example is also provided. Future applications are discussed in the end.