• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site
Student
Title
Supervisor
Faculty
Educational Programme
Final Grade
Year of Graduation
Ksenia Samsonova
UML Sequence Diagram Constructor for Scala Programs
Software Engineering
(Bachelor’s programme)
2016
Scala is a young, developing, multiparadigmal programming language, quickly growing in popularity [37]. It combines opportunities of object-oriented and functional programming. At the moment tools for analyzing Scala code are poorly developed, unlike other programming language, such as Java and C which have a variety of different tools for constructing UML diagrams from source code [32][27].

In this work an algorithm of constructing sequence diagram from Scala source code is proposed. UML sequence diagrams are used to visualize graphically how objects (instances of class) exchange calls over time, for example, in programming functions and procedures.

We used the following methods and tools. The mechanisms of the Scala language were used to parse the source code. They allow obtaining abstract syntax trees [20]. The PlantUML language was selected for textual description of UML sequence diagrams [18]. It can be converted into an image of diagram by the PlantUML component [17]. New UML notations that allow reflecting the functional features of the Scala language in the sequence diagram are proposed. The program is implemented as a plugin for Intellij IDEA Community Edition version 15.0.2 and higher.

The paper contains 41 pages of A4 format, consisting of 4 chapters and includes 5 illustrations, 5 tables, 37 bibliography items, 5 appendices.

Keywords: UML sequence diagram, Scala, reverse engineering, static analysis of code, abstract syntax tree

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