DocumentCode
3578862
Title
Developing translation rules of Java-JML source code to Event-B
Author
Hadiputra, Faisal Ibrahim ; Asnar, Yudistira D. W. ; Hendradjaya, Bayu
Author_Institution
Sch. of Electr. Eng. & Inf., Inst. Teknol. Bandung, Bandung, Indonesia
fYear
2014
Firstpage
1
Lastpage
6
Abstract
This paper proposes translation rules of Java-JML source code to Event-B. Java Modeling Language (JML), a specification language for Java, provides an ease to make a code-level specification regarding to its similarity with Java syntax. However, the verification tools which support JML still have a lot of limitations. On the other hand, in formal method, Event-B has been frequently used to specify software and hardware systems. Also, its verification tools are widely available and supplements one another. These facts give the opportunity to combine the ease provided by JML and the maturity of Event-B in formal method. In this case, translating Java-JML source code to Event-B could be the way. Thus, systematic translation rules are needed. Through this work, the rules are successfully formulated. Besides, the soundness of the rules are also guaranteed according to its correct-by-construction approach. Then, the rules are also evaluated yielding that unique properties which are required by the Event-B model-assertion, convergence, and enabledness - are properly checked. By using these rules, limitation of verification tools for JML can be supplemented.
Keywords
Java; computational linguistics; formal specification; program interpreters; program verification; software tools; specification languages; Event-B; Java Modeling Language; Java syntax; Java-JML source code; code-level specification; correct-by-construction approach; hardware system specification; software system specification; specification language; systematic translation rules; translation rule development; verification tools; Abstracts; Context; Contracts; Equations; Java; Mathematical model; Design by Contract; Event-B; Formal Method; JML; Java; RODIN; Source Code; Verification;
fLanguage
English
Publisher
ieee
Conference_Titel
Data and Software Engineering (ICODSE), 2014 International Conference on
Print_ISBN
978-1-4799-8175-5
Type
conf
DOI
10.1109/ICODSE.2014.7062693
Filename
7062693
Link To Document