DocumentCode :
1496668
Title :
UML interaction model-driven runtime verification of Java programs
Author :
Li, Xin ; Qiu, X. ; Wang, Lingfeng ; Chen, Xia ; Zhou, Zhengchun ; Yu, Long ; Zhao, Junhua
Author_Institution :
State Key Lab. of Novel Software Technol., Nanjing Univ., Nanjing, China
Volume :
5
Issue :
2
fYear :
2011
fDate :
4/1/2011 12:00:00 AM
Firstpage :
142
Lastpage :
156
Abstract :
The authors use unified modelling language (UML) 2.0 interaction overview diagrams (IODs) and sequence diagrams to construct simple and expressive scenario-based specifications, and present an approach to runtime verification of Java programs for exceptional consistency and mandatory consistency. The exceptional consistency requires that any forbidden scenario described by a given IOD never happens during the execution of a program, and the mandatory consistency requires that if a reference scenario described by a given sequence diagram occurs during the execution of a program, it must immediately adhere to a scenario described by a given IOD. In the approach, the authors first instrument a program under verification so as to gather the program execution traces related to a given scenario-based specification; then they drive the instrumented program to execute for generating the program execution traces; finally they check if the collected program execution traces satisfy the given specification. The approach leads to a supporting tool for testing in which UML interaction models are used as automatic test oracles to detect the wrong temporal ordering of message interaction in programs.
Keywords :
Java; Unified Modeling Language; formal specification; program testing; program verification; Java programs; UML interaction model-driven runtime verification; automatic test oracles; exceptional consistency; mandatory consistency; scenario-based specifications; sequence diagrams; unified modelling language 2.0 interaction overview diagrams;
fLanguage :
English
Journal_Title :
Software, IET
Publisher :
iet
ISSN :
1751-8806
Type :
jour
DOI :
10.1049/iet-sen.2009.0009
Filename :
5751766
Link To Document :
بازگشت