Logo PTI Logo rice

Proceedings of the 2022 Seventh International Conference on Research in Intelligent and Computing in Engineering

Annals of Computer Science and Information Systems, Volume 33

Automated Code Generation from Use cases and the Domain Model

,

DOI: http://dx.doi.org/10.15439/2022R27

Citation: Proceedings of the 2022 Seventh International Conference on Research in Intelligent and Computing in Engineering, Vu Dinh Khoa, Shivani Agarwal, Gloria Jeanette Rincon Aponte, Nguyen Thi Hong Nga, Vijender Kumar Solanki, Ewa Ziemba (eds). ACSIS, Vol. 33, pages 7581 ()

Full text

Abstract. In this paper, we propose a method to automatically generate source code files from a use case model and a domain class diagram named USLSCG (Use case Specification Language (USL) based Code Generation). In our method, a use case scenario is precisely specified by a USL model. The USL model and the domain class diagram then are used as inputs to generate source code files automatically. These source code files include classes following three-layer applications and a SQL script file to create a database and store procedures.

References

  1. I. Sommerville, Software Engineering, 10th ed. Boston: Pearson, Mar. 2015.
  2. A. Cockburn and H. a. Technology, “WRITING EFFECTIVE USE CASES,” Addison-Wesley, p. 113, 2001.
  3. C. Hue and D.-H. Dang, “USL: A Domain-Specific Language for Precise Specification of Use Cases and Its Transformations,” Informatica, vol. 42, Sep. 2018.
  4. C. Hue, D.-H. Dang, and N. Binh, A Transformation-Based Method for Test Case Automatic Generation from Use Cases, Nov. 2018, pages: 257.
  5. M.-H. Chu and D.-H. Dang, “Automatic Extraction of Analysis Class Diagrams from Use Cases,” in 2020 12th International Conference on Knowledge and Systems Engineering (KSE), Nov. 2020, pp. 109–114, iSSN: 2164-2508.
  6. K. Wiegers and J. Beatty, Software Requirements, 3rd Edition, ser. 3rd Edition, Aug. 2013.
  7. G. Ksters, H.-w. Six, and M. Winter, “Validation and verification of use cases and class models,” 04 2001.
  8. Laurent Goubet and Laurent Delaigue, “Acceleo/Getting Started - Eclipsepedia.” [Online]. Available: https:// wiki.eclipse.org/Acceleo
  9. a. M. W. Marco Brambilla, Jordi Cabot, Model-Driven Software Engineering in Practice, 2nd ed. Morgan & Claypool, 2017.
  10. J. Francu and P. Hnetynka, “Automated Code Generation from System Requirements in Natural Language,” e-Informatica, vol. 3, pp. 72–88, Jan. 2009.
  11. S. E. V. and P. Samuel, “Automatic Code Generation From UML State Chart Diagrams,” IEEE Access, vol. 7, pp. 8591 – 8608, Jan. 2019.
  12. A. Fatolahi, S. S. Somé, and T. C. Lethbridge, “Towards A Semi-Automated Model-Driven Method for the Generation of Web-based Applications from Use Cases,” 2008.
  13. H. Ikeda, H. Nakagawa, and T. Tsuchiya, “Towards Automatic Facility Layout Design Using Reinforcement Learning,” Sep. 2022, pp. 11–20. [Online]. Available: https://annals-csis.org/proceedings/2022/drp/25.html