Académique Documents
Professionnel Documents
Culture Documents
Interim Report
Shane Lillis,
9514147
Software Visualisation /
Comparison Tool
Contents
PAGE
Chapter 1 : Introduction and Project Outline 3
1.1 Project Title and Interpretation
3
1.2 Project Motive 3
Chapter 4 : Design 8
4.1 Design Approach : OMT, Object Orientation 8
4.2 The Scanning Algorithm
8
4.3 Graphical User Interface
9
4.4 Other Design Issues 9
Chapter 2 :
Theory of Software Visualisation
2.1 What is Software Visualisation?
Software Visualisation can be defined as the use of graphical and textual
formalisms to describe the execution of computer programs [MULHOLLAND,
97]. It is the use of visualisation and animation techniques to help people
understand the characteristics of programs [STASKO, 95]. Software visualisation
tools use graphical techniques to make software visible through the display of
programs, program artefacts, and program behaviour. The essential idea is that
visual representations can make the process of understanding software easier
[BALL, SV]. There are essentially two ways in which software can be visualised
1. Program Visualisation [HYRSKYKARI, 93]
2. Algorithm Animation
Program Visualisation can be defined as specifying the program in the
conventional textual manner, and the use of graphics to illustrate some aspects of
the program [HYRSKYKARI, 93]. Algorithm Animation can analyse
predefined algorithms in programs at a much higher level of abstraction.
This project will involve the use of Program Visualisation to analyse
source code files. This will be accomplished by visualising the source code text
onto the screen, as described in chapter 2.2
1. Apply different colours to different sections of the code. Each colour may
represent a structure, variable or type of loop as defined by the language
of the source code being analysed.
2. Once applied, each character must be displayed on the screen as a pixel. The
pixel must have the same colour as the character in the colour-schemed
code.
By having many lines of different coloured pixels on the screen, it becomes easier
for the user with a legend to see whats going on inside the code and to see the
immediate structure of the code. This method, therefore, allows the user to
visualise very large amounts of code in only a small area on the screen.
Chapter 3 :
Plan of Action
3.1 Work Accomplished to Date
To date, the vast majority of the work completed has been Research-based.
This will diminish rapidly as the design and implementation stages of the project
take place. The work that has occurred to date can be categorised as follows :
Semester 1:
End of Week 10: Completion of major analysis and design stages in the
OMT cycle.
Semester Break :
Semester 2 :
These goals can be seen on the following Gantt Chart which is often used in
industry to graphically depict timing of a project.
The following algorithm has been devised with the above considerations
in mind.
At this stage, a display object will read through the array and display
coloured pixels on the screen corresponding to the file information array.
4.3 Graphical User Interface.
The Graphical User Interface is a very important feature of this project.
Because of the complex nature of software visualisation and comparison, it is
vitally important that the GUI be easy to use and easy to understand. It is my
experience that many current Software Visualisation tools available on the market
are very strong when it comes to visualisation and analysis of code but weak when
it comes to a simple understandable interactive interface. When modelling the
user interface, the OMT dynamic model will be mostly used as the dynamic
model is used to define the protocol of the user interaction [DERR, 95]
Note: This designs mentioned here are only initial designs, and like in any good
project, are subject to alteration during the analysis and design time of the project.
Chapter 5 :
Literature Survey
The following is a list of some of the resources that I have put to use in the research stage
of the project to date.
The Visual C++ Handbook Second Edition, Murray, W., Pappas, C.,
Osbourne McGraw-Hill, 1995
Chapter 6 :
Requirements of Facilities and Materials
6.1 Software Requirements
This software project will be implemented on the Windows 95 operating system
using the Microsoft Visual C++ 5.0 Developers Studio. It is hoped that the tool will be
fully Win-32 bit compatible, i.e. compatible with Windows 98 and Window NT. Other
software requirements will include MS Word 95/97, MS Project 95, Adobe Acrobat (for
researching .papers in PDF format), GhostView (for researching papers in .PS format).
The Pico text editor on the Skynet Linux Server will be used to create the webpage and
Cool3D will be used to provide graphics for the page. The standard DOS-based FTP
program will be used to back-up the project work to the Skynet server.
Papers :
Books:
Internet Sites :
Ball, T. http://www.bell-labs.com/tball