JOURNAL ARTICLE

UML interaction model-driven runtime verification of Java programs

Xiaogang LiXiaokang QiuLin WangX. ChenZhi‐Hua ZhouLi YuJia-Qiang Zhao

Year: 2011 Journal:   IET Software Vol: 5 (2)Pages: 142-156   Publisher: Institution of Engineering and Technology

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:
Computer science Sequence diagram Programming language Consistency (knowledge bases) Java Unified Modeling Language Construct (python library) Software engineering Software

Metrics

3
Cited By
1.18
FWCI (Field Weighted Citation Impact)
37
Refs
0.84
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Software Engineering Methodologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Model-Driven Software Engineering Techniques
Physical Sciences →  Computer Science →  Software

Related Documents

JOURNAL ARTICLE

Predictive Runtime Verification of Java Programs

Kang YuZhen Bang ChenWei Dong

Journal:   Advanced materials research Year: 2014 Vol: 1078 Pages: 333-336
JOURNAL ARTICLE

Event-based runtime verification of java programs

Marcelo d’AmorimKlaus Havelund

Journal:   ACM SIGSOFT Software Engineering Notes Year: 2005 Vol: 30 (4)Pages: 1-7
JOURNAL ARTICLE

Specification and Runtime Verification of Java Card Programs

Umberto Souza da CostaAnamaria Martins MoreiraMartín A. MusicantePlácido A. Souza Neto

Journal:   Electronic Notes in Theoretical Computer Science Year: 2009 Vol: 240 Pages: 61-78
© 2026 ScienceGate Book Chapters — All rights reserved.