{'fraction_non_alphanumeric': 0.01935483870967742, 'fraction_numerical': 0.0064516129032258064, 'mean_word_length': 5.602836879432624, '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}}
Formal specification and automated verification of UML2.0 sequence diagrams

Software reliability is with critical importance in security demanding areas, including space exploration, e-business and military defense. UML sequence diagrams capture the collaborations of objects, and bridge the gap between abstract design and coding. Hence studying formal methods and automated verification of sequence diagram is indispensible to assure software reliability. In this paper, we establish formal specification rules for UML2.0 diagrams based on CCS, calculus of communicating system. Based on those rules, we propose specification algorithm and prove its linear complexity. Hence formal specifications of sequence diagrams can be obtained with programmed algorithm. In the end, we use a case study to illustrate our approach and show how automated verification can help designer discover design mistakes in UML2.0 sequence diagrams.