Momcilo Krunic, I. Letvencuk, Ivan Povazan, V. Krunic
{"title":"An approach to model driven development and automatic source code generation of GUI controls","authors":"Momcilo Krunic, I. Letvencuk, Ivan Povazan, V. Krunic","doi":"10.1109/SISY.2013.6662544","DOIUrl":null,"url":null,"abstract":"Generating source code from a model, using a model-driven development techniques (MDD), rapidly increases application reliability and substantially accelerates time-to-market, thereby reducing application development costs. The generated source code does not have its functional implementation, so besides MDD, it is necessary to create some additional tools that will fulfill this gap. This paper describes a design of a system for automatic model development and automatic source code generation that transforms specification into the product implementation. Specification contains data necessary for the implementation of GUI controls. Controls are integrated as a part of an Eclipse based IDE. To reduce the amount of source code that needs to be generated, reflection API Java feature is used. Reflection API is also used for developing JUnit Java tests, that verify the reliability of generated source code. Using the proposed algorithm 1960 GUI controls and 3920 JUnit tests are generated. Based on this approach it is estimated that time-to-market is reduced four and a half months and quality of source code is increased significantly, lowering the total cost of developing and maintaining application.","PeriodicalId":187088,"journal":{"name":"2013 IEEE 11th International Symposium on Intelligent Systems and Informatics (SISY)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-11-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 IEEE 11th International Symposium on Intelligent Systems and Informatics (SISY)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SISY.2013.6662544","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
Generating source code from a model, using a model-driven development techniques (MDD), rapidly increases application reliability and substantially accelerates time-to-market, thereby reducing application development costs. The generated source code does not have its functional implementation, so besides MDD, it is necessary to create some additional tools that will fulfill this gap. This paper describes a design of a system for automatic model development and automatic source code generation that transforms specification into the product implementation. Specification contains data necessary for the implementation of GUI controls. Controls are integrated as a part of an Eclipse based IDE. To reduce the amount of source code that needs to be generated, reflection API Java feature is used. Reflection API is also used for developing JUnit Java tests, that verify the reliability of generated source code. Using the proposed algorithm 1960 GUI controls and 3920 JUnit tests are generated. Based on this approach it is estimated that time-to-market is reduced four and a half months and quality of source code is increased significantly, lowering the total cost of developing and maintaining application.