“…Applying the step 1 on SD (Fig. 2), we obtain M = {1, 2, 3, 4, 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20, 21}, R = {4, 5, 12, 13, 21}, F = {loop 1 , alt 1 , alt 2 , alt 3 , loop 2 , alt 4 , alt 5 , alt 6 } (see Fig. 2).…”
Section: Construction Of Sig Modelmentioning
confidence: 99%
“…On the other hand, Jakimi and El Koutbi [17] have not reported how to handle method scope information which is necessary for the generation of code of different class methods. Thongmak and Muenchaisri [5] propose a set of rules to transform UML SDs into Java code. For this, Thongmak and Muenchaisri map sequence and class diagrams into a meta-model and then apply the transformation rules to the meta-model to generate Java code.…”
Section: Memory Analysis and Performance Analysismentioning
confidence: 99%
“…For this, Thongmak and Muenchaisri map sequence and class diagrams into a meta‐model and then apply the transformation rules to the meta‐model to generate Java code. Thongmak and Muenchaisri [5] follow UML 1. x syntax for modelling the SDs. To improve the quality of code generation using UML 2.0 SD, Usman and Nadeem [13] propose a tool approach called ‘UJECTOR’.…”
Section: Comparison With Related Workmentioning
confidence: 99%
“…UML being a visual language supports modelling different views of software and has found wide acceptance among software practitioners. In a model-driven software development environment, there is a growing applications of UML to design software architecture, code implementation [5][6][7][8][9][10][11][12][13], testing [14][15][16], maintainence and so on.…”
Unified modelling language (UML) is a visual modelling language, which has gained popularity among software practitioners. In a model-driven software development environment, the existing UML tools mainly support automatic generation of structural code from UML class diagrams. However, the code generation from UML diagrams such as statechart, activity, collaboration and sequence diagrams (SDs) are not supported by most UML tools and also have scarcely been reported in the literatures. This work proposes an approach to automatic generation of code from UML 2.x SDs of use cases. From the XML metadata interchange (XMI) representation of an SD of a use case, the authors construct a graph model called sequence integration graph (SIG). The SIG encapsulates information related to messages, control flow and method scope of interactions. These information are then used to generate code. The proposed approach has been tested using a number of real-life application systems and the results substantiate the efficacy of the approach to synthesise the code for controller classes. The authors observe that approximately 48% of the total lines of code within controller class methods can be generated with the proposed approach. The proposed approach can be easily extended to other behavioural UML models such as interaction-overview diagrams, communication diagrams and activity diagrams.
“…Applying the step 1 on SD (Fig. 2), we obtain M = {1, 2, 3, 4, 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20, 21}, R = {4, 5, 12, 13, 21}, F = {loop 1 , alt 1 , alt 2 , alt 3 , loop 2 , alt 4 , alt 5 , alt 6 } (see Fig. 2).…”
Section: Construction Of Sig Modelmentioning
confidence: 99%
“…On the other hand, Jakimi and El Koutbi [17] have not reported how to handle method scope information which is necessary for the generation of code of different class methods. Thongmak and Muenchaisri [5] propose a set of rules to transform UML SDs into Java code. For this, Thongmak and Muenchaisri map sequence and class diagrams into a meta-model and then apply the transformation rules to the meta-model to generate Java code.…”
Section: Memory Analysis and Performance Analysismentioning
confidence: 99%
“…For this, Thongmak and Muenchaisri map sequence and class diagrams into a meta‐model and then apply the transformation rules to the meta‐model to generate Java code. Thongmak and Muenchaisri [5] follow UML 1. x syntax for modelling the SDs. To improve the quality of code generation using UML 2.0 SD, Usman and Nadeem [13] propose a tool approach called ‘UJECTOR’.…”
Section: Comparison With Related Workmentioning
confidence: 99%
“…UML being a visual language supports modelling different views of software and has found wide acceptance among software practitioners. In a model-driven software development environment, there is a growing applications of UML to design software architecture, code implementation [5][6][7][8][9][10][11][12][13], testing [14][15][16], maintainence and so on.…”
Unified modelling language (UML) is a visual modelling language, which has gained popularity among software practitioners. In a model-driven software development environment, the existing UML tools mainly support automatic generation of structural code from UML class diagrams. However, the code generation from UML diagrams such as statechart, activity, collaboration and sequence diagrams (SDs) are not supported by most UML tools and also have scarcely been reported in the literatures. This work proposes an approach to automatic generation of code from UML 2.x SDs of use cases. From the XML metadata interchange (XMI) representation of an SD of a use case, the authors construct a graph model called sequence integration graph (SIG). The SIG encapsulates information related to messages, control flow and method scope of interactions. These information are then used to generate code. The proposed approach has been tested using a number of real-life application systems and the results substantiate the efficacy of the approach to synthesise the code for controller classes. The authors observe that approximately 48% of the total lines of code within controller class methods can be generated with the proposed approach. The proposed approach can be easily extended to other behavioural UML models such as interaction-overview diagrams, communication diagrams and activity diagrams.
“…Then the approach generates user interfaces from the obtained state machines. As Whittle et al 's, this approach does not supports UML2 interaction operators.Two existing works [8], [11] deal with code generation from scenarios but without using state machines. Code is directly generated from scenarios by means of a set of transformation rules.…”
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.