Paper Details

Communicating Process Architectures (CPA)
 Title: A Model-driven Methodology for Generating and Verifying CSP-based Java Code
 Conference: Communicating Process Architectures 2015
 Authors: Julio Marinoa, Raul N. N. Alborodob
(a) Babel Group, Universidad Politecnica de Madrid
(b) IMDEA Software Institute
 Abstract: Model-driven methodologies can help developers create more reliable software. In previous work, we have advocated a model-driven approach for the analysis and design of concurrent, safety-critical systems. However, to take full advantage of those techniques, they must be supported by code generation schemes for concrete programming languages. Ideally, this translation should be traceable, automated and should support verification of the generated code. In this paper we consider the problem of generating concurrent Java code from high-level interaction models. Our proposal includes an extension of JML that allows to specify shared resources as Java interfaces, and several translation patterns for (partial) generation of CSP-based Java code. The template code thus obtained is JML-annotated Java using the JCSP library, with proof obligations that help with both traceability and verification. Finally, we present an experiment in code verification using the KeY tool. 
Files:


BibTeX Entry


Full paper


Presentation