Dumitru-Cristian Apostol, Paul-Daniel Rusovan, M. Marcu
{"title":"UML to code, and code to UML, a view inside implementation challenges and cost","authors":"Dumitru-Cristian Apostol, Paul-Daniel Rusovan, M. Marcu","doi":"10.1109/ICSTCC55426.2022.9931871","DOIUrl":null,"url":null,"abstract":"Due to benefits such as cost savings and accuracy, automated translation of UML models to executable code is becoming more popular. However, important issues in this field include maintainability and efficiency of the produced code, as well as evaluating the consistency of UML models. This paper describes a mechanism for automatically translating UML models into code in a specific programming language. For automatic code creation, the program UML to Code employs UML class diagrams for structural reference. The program creates code structure based on the class diagram, having as backbone, a state machine that converts the XML into code. The code generating tool is experimentally validated using a case study. The resulting code is compatible with UML models, functional, efficient and intelligible, according to the results.","PeriodicalId":220845,"journal":{"name":"2022 26th International Conference on System Theory, Control and Computing (ICSTCC)","volume":"90 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 26th International Conference on System Theory, Control and Computing (ICSTCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSTCC55426.2022.9931871","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Due to benefits such as cost savings and accuracy, automated translation of UML models to executable code is becoming more popular. However, important issues in this field include maintainability and efficiency of the produced code, as well as evaluating the consistency of UML models. This paper describes a mechanism for automatically translating UML models into code in a specific programming language. For automatic code creation, the program UML to Code employs UML class diagrams for structural reference. The program creates code structure based on the class diagram, having as backbone, a state machine that converts the XML into code. The code generating tool is experimentally validated using a case study. The resulting code is compatible with UML models, functional, efficient and intelligible, according to the results.
由于成本节约和准确性等优点,UML模型到可执行代码的自动翻译正变得越来越流行。然而,该领域的重要问题包括所生成代码的可维护性和效率,以及UML模型的一致性评估。本文描述了一种自动将UML模型转换为特定编程语言代码的机制。对于自动代码创建,程序UML to code使用UML类图作为结构参考。该程序基于类图创建代码结构,并以将XML转换为代码的状态机作为主干。该代码生成工具通过案例研究进行了实验验证。根据结果,生成的代码与UML模型兼容,功能齐全,高效且易于理解。