Publication Date


Degree Type

Master's Project

Degree Name

Master of Science (MS)


Computer Science


The thesis is based on the concept of generating machine executable code from UML diagrams. There has been some research done on the same topic but it is mainly focused on class diagrams. My main focus will be on the use case diagrams, and sequence diagrams. Sequence diagrams give us the details of any process in a step-by-step fashion which makes it easier to extract the required information regarding the use cases and the controllers which help us generate the code. The process follows three steps, first being generation of UML diagrams. Secondly, these are converted into XMI (XML Metadata Interchange) which is a XML format. In the end this XMI file is converted into machine executable Java code with the help of a tool that I will be generating. We will be using StarUML as the UML editor for the thesis which also provides the functionality of converting UML diagrams into XMI format. The advantages of this process include the reduction of time complexity of the process and ease of coding for the software developers. In future, this project can be extended to map the requirements provided by the customer to the software developed so that the customer can understand the system very easily. This project could be further expanded so that it can generate code even considering the state chart diagrams for any system. The report includes the details of the implementation and the work I have done. I have named the software are ProtoGen and will be referring to it as ProtoGen throughout the report.