A Software Static Structure Visualization Tool for Java

Autor: LIN,TZU-XIANG, 林子翔
Rok vydání: 2019
Druh dokumentu: 學位論文 ; thesis
Popis: 107
Software maintainers spend up to fifty percent of their time determining the intent of the source code, which is called program understanding. Program understanding is not only essential for software maintenance, but also plays a key role for novices of programming. The graphical visualization of software has the potential to assist software engineers to better understand the design and functionality of software, so that they can understand programs more quickly and improve the quality of their maintenance. Visual presentation is also relevant to introductory programming education. However, because a software system contains a significant amount of information, it is not easy to visualize the software appropriately. The user's perception of information and cognitive factors must be considered to improve the visual comprehensibility. This paper presents a prototype of a software static structure visualization tool for Java language. The tool is set up on a web server, users can directly use visualized results through web pages. The tool is implemented in HTML, JSP, JavaScript, and ANTLR, a parser generator. A software system is represented as a city, a class in the software is represented as a place, and a method in a class is a building on the place corresponding to the class. The size and the position of a method are also represented visually. If a method is inherited from the superclass, a line link to another place is used as the representation of such a relationship.
Databáze: Networked Digital Library of Theses & Dissertations