Come let us be friends for once. Let us make life easy on us. Let us be loved ones and lovers. The earth
Idea Transcript
National Research University Higher School of Economics Õ Student Theses Õ UML Sequence Diagram Constructor for Scala Programs
Campus in
Moscow
EN
← Student Theses Educational
Student
Title
Supervisor
Faculty
Ksenia Samsonova
UML Sequence Diagram Constructor for Scala Programs
Alexey A. Mitsyuk
Faculty of Computer Science
Final Grade
Programme
Year of Graduation
Software Engineering
2016
(Bachelor’s programme)
Scala is a young, developing, multiparadigmal programming language, quickly growing in popularity [37]. It combines opportunities of objectoriented 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.
Have you spotted a typo? Highlight it, click Ctrl+Enter and send us a message. Thank you for your help!
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
•••
National Research University Higher School of Economics Õ Student Theses Õ UML Sequence Diagram Constructor for Scala Programs