# Mapping Formal Results Back to UML Semi-formal Model

### Vinícius Pereira, Luciano Baresi, Márcio E. Delamaro

#### Abstract

UML is a widely used modeling language and it has a semi-formal notation that helps the software developers with a set of modeling rules, but without the need to have expertise in formal methods. This semi-formalism encourages the use of UML in Software Engineering domain because the software engineers involved can understand UML diagrams easily. Whereas, formal methods are more accurate than UML and their formal models have a higher correctness than the UML models. Thanks to this correctness, over the years, researchers are seeking ways to assign a formal semantics to UML. Usually they focus on how to formalize UML diagrams, transform them into formal models (such as LISP) and use them in model checkers. However, few researches discuss the problem of how to present the formal results to an audience who has no knowledge of formal methods. In order to fulfil this problem, in this paper is presented a mapping responsible for making the correlation between the formal results and the UML semi-formal environment, allowing the developer to analyze the results without having advance knowledge of formal methods. Therefore, we hope that this work may contribute to the increased adoption of formal methods in the software development industry.

#### References

- Bagnato, A., Sadovykh, A., Paige, R., Kolovos, D., Baresi, L., Morzenti, A., and Rossi, M. (2010). MADES: Embedded systems engineering approach in the avionics domain. In HoPES'10.
- Baresi, L., Morzenti, A., Motta, A., and Rossi, M. (2012). Towards the UML-based formal verification of timed systems. In FMCO'12, volume 6957 of LNCS, pages 267-286. Springer Berlin/Heidelberg.
- Borger, E., Cavarra, A., and Riccobene, E. (2000). An ASM semantics for UML activity diagrams. In AMAST'00, pages 293-308. Springer-Verlag.
- Bouabana-Tebiel, T. (2009). Semantics of the interaction overview diagram. In IRI'09, pages 278-283, Piscataway, NJ, EUA. IEEE Press.
- Broy, M., Crane, M. L., Dingel, J., Hartman, A., Rumpe, B., and Selic, B. (2006). 2nd UML 2 semantics symposium: formal semantics for UML. In MoDELS'06, pages 318-323. Springer-Verlag.
- Cengarle, M. V. and Knapp, A. (2005). Operational semantics of UML 2.0 interactions. Technical Report TUM-I0505, Technische Universitt Mnchen.
- Ciapessoni, E., Coen-Porisini, A., Crivelli, E., Mandrioli, D., Mirandola, P., and Morzenti, A. (1999). From formal models to formally-based methods: an industrial experience. ACM TOSEM, 8(1):79-113.
- Diethers, K. and Huhn, M. (2004). Vooduu: Verification of object-oriented designs using UPPAAL. In TACAS'04, volume 2988 of LNCS, pages 139-143.
- Eriksson, H. E., Penker, M., and Lyons, B. (2004). UML 2 Toolkit, volume 1 of OMG Series. Wiley Pub.
- Eshuis, R. (2006). Symbolic model checking of UML activity diagrams. ACM TOSEM, 15:1-38.
- Goldsby, H., Cheng, B. H. C., Konrad, S., and Kamdoum, S. (2006). A visualization framework for the modeling and formal analysis of high assurance systems. In MoDELS'06, volume 4199 of LNCS, pages 707-721.
- Grobelna, I., Grobelny, M., and Adamski, M. (2010). Petri nets and activity diagrams in logic controller specification - transformation and verification. In MIXDES'10, pages 607-612.
- Hammal, Y. (2005). A formal semantics of UML statecharts by means of timed petri nets. In FORTE'05, pages 38-52, Berlin, Heidelberg. Springer-Verlag.
- Hutchinson, J., Whittle, J., Rouncefield, M., and Kristoffersen, S. (2011). Empirical assessment of MDE in industry. In ICSE'11, pages 471-480.
- Berlin-Heidelberg. M. S. and Stolen, K. (2006). A fully general operational semantics for UML 2.0 sequence diagrams with potencial and mandatory choice. In FM'06, volume 4085 of LNCS, pages 380-395.
- Mayerhofer, T., Langer, P., and Kappel, G. (2012). A runtime model for fUML. In MRT'12, pages 53-58.
- Micskei, Z. and Waeselynck, H. (2011). The many meanings of UML 2 sequence diagrams: a survey. Software and Systems Modeling, 10:489-514.
- Motta, A. (2012a). Logic-Based Verification of Multi-Diagram UML Models for Timed Systems. PhD thesis, Politecnico di Milano - Dipartimento di Elettronica e Informazione.
- Motta, A. (2012b). Towards the verification of multi-diagram UML models. In ICSE'12, pages 1531-1534. IEEE Press.
- Paltor, I. P. and Lilius, J. (1999). Formalising UML state machines for model checking. In UML'99, pages 430-445, Berlin, Heidelberg. Springer-Verlag.
- Pradella, M., Morzenti, A., and Pietro, P. S. (2007). The symmestry of the past and of the future: bi-infinite time in the verification of temporal properties. In ESEC-FSE'07, pages 312-320. ACM.
- Remenska, D., Templon, J., Willemse, T. A. C., Homburg, P., Verstoep, K., Casajus, A., and Bal, H. (2013). From UML to process algebra and back: An automated approach to model-checking software design artifacts of concurrent systems. In NFM'15, volume 7871 of LNCS, pages 244-260. Springer Berlin Heidelberg.
- Rossi, C., Enciso, M., and de Guzman, I. P. (2004). Formalization of UML state machines using temporal logic. Software and Systems Modeling, 3(1):31-54.
- Saldhana, J. A. and Shatz, S. M. (2000). UML diagrams to object petri net models: An approach for modeling and analysis. In SEKE'00, pages 103-110.
- Snook, C. and Butler, M. (2006). UML-B: Formal modeling and desing aided by UML. ACM TOSEM, 15:92-122.
- Storrle, H. (2003). Semantics of interactions in UML 2.0. In HCC'03, pages 129-136. IEEE Computer Society.

#### Paper Citation

#### in Harvard Style

Pereira V., Baresi L. and Delamaro M. (2015). **Mapping Formal Results Back to UML Semi-formal Model** . In *Proceedings of the 17th International Conference on Enterprise Information Systems - Volume 2: ICEIS,* ISBN 978-989-758-097-0, pages 320-329. DOI: 10.5220/0005372603200329

#### in Bibtex Style

@conference{iceis15,

author={Vinícius Pereira and Luciano Baresi and Márcio E. Delamaro},

title={Mapping Formal Results Back to UML Semi-formal Model},

booktitle={Proceedings of the 17th International Conference on Enterprise Information Systems - Volume 2: ICEIS,},

year={2015},

pages={320-329},

publisher={SciTePress},

organization={INSTICC},

doi={10.5220/0005372603200329},

isbn={978-989-758-097-0},

}

#### in EndNote Style

TY - CONF

JO - Proceedings of the 17th International Conference on Enterprise Information Systems - Volume 2: ICEIS,

TI - Mapping Formal Results Back to UML Semi-formal Model

SN - 978-989-758-097-0

AU - Pereira V.

AU - Baresi L.

AU - Delamaro M.

PY - 2015

SP - 320

EP - 329

DO - 10.5220/0005372603200329