• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Software for Construction of UML Class Diagrams from Source Code Written in Scala

Student: Kulikov Andrey

Supervisor: Alexey A. Mitsyuk

Faculty: Faculty of Computer Science

Educational Programme: Software Engineering (Bachelor)

Final Grade: 9

Year of Graduation: 2016

This paper is dedicated to the process of transformation a code written in Scala into a UML class diagram. Companies where IT solutions play a critical role are facing the problem of maintaining, managing and even rewriting their current software systems. In most cases, these systems are written in languages for JVM runtime, e.g. Java, Scala, Groovy, Kotlin, which are interoperable with Java after a compilation phase; however, they have syntax discrepancies. To design such systems various visual representations (diagrams) based on UML are used to be independent from a concrete programming language. In this work, we consider different approaches for a Scala code syntactic analysis and discover their pros and cons. Moreover, the paper describes issues and possible solutions of representation of Scala-specific syntactic constructions in terms of UML, demonstrates various ways of building UML class diagrams. The aim of the work is a program, which consists of two modules. The first one produces object model of Abstract Syntax Tree (AST), which is generated by Scala compiler in a text form. The second module is responsible for transformation of AST nodes into UML elements and designed as a plugin for modeling environment Modelio. Application of UML class diagrams simplifies the process of design and analysis of complex systems by using existing components, which can be written in different programming languages.

Full text (added May 24, 2016)

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses