Automatic Generation of CSP || B Skeletons from xUML Models
CSP ∥ B is a formal approach to specification that combines CSP and B. In this paper we present our tool that automatically translates a subset of executable UML (xUML) models into CSP ∥ B, for the purpose of verification and increased validation at the early stages of a software engineering development lifecycle. The tool is being developed for our industrial collaborators, AWE plc, in order to strengthen their software engineering process which uses xUML. As part of this process, AWE and Kennedy Carter Ltd. have built an xUML to SPARK Ada code generator, which is also employed to contribute a higher level of safety assurance at the latter stages of the lifecycle. Our tool is based on a model-text transformation strategy that uses the xUML meta-model to map to CSP and B constructs. The tool generates machine readable CSP and B; we present a simple example to demonstrate the transformation strategy, and the analysis of the resulting specification.
KeywordsTransformation Rule Class Diagram Automatic Generation Active Object State Chart
Unable to display preview. Download preview PDF.
- 2.Mellor, S.J., Balcer, M.J.: Executable UML, A Foundation for Model-Driven Architecture. Addison-Wesley, Reading (2002)Google Scholar
- 3.Kolovos, D.S., Paige, R.F., Polack, F.A.C.: Epsilon development tools for Eclipse. In: Eclipse Summit (2006)Google Scholar
- 8.Group, T.V.T.: The Rose-VDM++ link. Technical report, CSK Systems (2008)Google Scholar
- 9.Wilkie, I., King, A., Clarke, M., Weaver, C., Raistrick, C., Francis, P.: UML ASL Reference Guide (ASL language level 2.5). Kennedy Carter Ltd (2003)Google Scholar
- 10.Object Management Group: UML 2.0 OCL Specification (2003)Google Scholar
- 11.Formal Systems Oxford: FDR 2.83 manual (2007)Google Scholar
- 12.Leuschel, M., Butler, M.: ProB: A Model Checker for B. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) FME 2003. LNCS, vol. 2805, pp. 855–874. Springer, Heidelberg (2003)Google Scholar
- 13.Schneider, S.: Concurrent and Real-Time Systems: the CSP Approach. Wiley, Chichester (1999)Google Scholar
- 14.Roscoe, A.W.: The theory and practice of concurrency. Prentice-Hall, Englewood Cliffs (1998)Google Scholar
- 16.Treharne, H., Schneider, S., Grant, N., Evans, N., Ifill, W.: A step towards merging xUML and cspb. In: Dagstuhl workshop on Rigorous Methods for Software Construction and Analysis (to appear)Google Scholar