Software Visualization Space Filling Approach & Semantic Zooming Siva Venkatachalam 03/23/2004.

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

Jun 2, 2014 IAT Trees2 Chapter 3.2 of Spence ______________________________________________________________________________________ SCHOOL OF INTERACTIVE.
1 Software Testing and Quality Assurance Lecture 13 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
COMPSCI 105 S Principles of Computer Science 12 Abstract Data Type.
1 CS 501 Spring 2002 CS 501: Software Engineering Lecture 11 Designing for Usability I.
Using Data Flow Diagrams
Using Dataflow Diagrams
User Interface Design Yonsei University 2 nd Semester, 2013 Sanghyun Park.
Reading Graphs and Charts are more attractive and easy to understand than tables enable the reader to ‘see’ patterns in the data are easy to use for comparisons.
1 Presented by Jean-Daniel Fekete. 2  Motivation  Mélange [Elmqvist 2008] Multiple Focus Regions.
Space-Filling Software Visualization by Marla J. Baker and Stephen G. Eick Presented by: Brian Phillips February
Help and Documentation zUser support issues ydifferent types of support at different times yimplementation and presentation both important yall need careful.
Tree-Maps: A Space-Filling Approach to the Visualization of Hierarchical Information Structures Brian Johnson Ben Shneiderman (HCIL TR 91-06) Steve Betten.
Using Dataflow Diagrams
CS 425/625 Software Engineering System Models
System Design and Analysis
Software Quality Control Methods. Introduction Quality control methods have received a world wide surge of interest within the past couple of decades.
Cone Trees and Collapsible Cylindrical Trees
1 / 31 CS 425/625 Software Engineering User Interface Design Based on Chapter 15 of the textbook [SE-6] Ian Sommerville, Software Engineering, 6 th Ed.,
Visual Querying By Color Perceptive Regions Alberto del Bimbo, M. Mugnaini, P. Pala, and F. Turco University of Florence, Italy Pattern Recognition, 1998.
Subdue Graph Visualizer by Gayathri Sampath, M.S. (CSE) University of Texas at Arlington.
1 Keeping Track: Coordinating Multiple Representations in Programming Pablo Romero, Benedict du Boulay & Rudi Lutz IDEAs Lab, Human Centred Technology.
SeeSys: Space-Filling Software Visualization Marla J. Baker Stephen G. Eick AT&T Bell Labs.
Chapter 9 Using Data Flow Diagrams
1 SeeSys Visualization System ICS 280 Information Visualization 5/1/2001 By Wan Sze Ng ICS 280 Information Visualization 5/1/2001 By Wan Sze Ng.
Visualization. CS351 - Software Engineering (AY2004)2 Program visualization Debugging programs without the aid of support tools can be extremely difficult.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 12 Spreadsheets and Business Graphics: Facts and Figures.
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
Tree-Maps: A Space-Filling Approach to the Visualization of Hierarchical Information Structures Presented by: Daniel Loewus-Deitch.
Oct 7, 2013 IAT Trees2 Chapter 3.2 of Spence ______________________________________________________________________________________ SCHOOL OF INTERACTIVE.
Introduction to Systems Analysis and Design Trisha Cummings.
Chapter 10 Architectural Design
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Introduction to MATLAB adapted from Dr. Rolf Lakaemper.
Map Scale, Resolution and Data Models. Components of a GIS Map Maps can be displayed at various scales –Scale - the relationship between the size of features.
Computers: Tools for an Information Age Chapter 12 Spreadsheets and Business Graphics: Facts and Figures.
Lattice Technology New Product Feature Highlights July 2010 Product Release.
Visualizing Information in Global Networks in Real Time Design, Implementation, Usability Study.
2Object-Oriented Analysis and Design with the Unified Process The Requirements Discipline in More Detail  Focus shifts from defining to realizing objectives.
Software Engineering Chapter 16 User Interface Design Ku-Yaw Chang Assistant Professor Department of Computer Science and Information.
VAST 2011 Sebastian Bremm, Tatiana von Landesberger, Martin Heß, Tobias Schreck, Philipp Weil, and Kay Hamacher Interactive-Graphics Systems TU Darmstadt,
Glyph Visualization and Yet Another Tree Visualization Matt Williams InfoVis 533c April 3, 2003.
CHAPTER TEN AUTHORING.
Chapter 6 – Architectural Design CSE-411, Dr. Shamim H Ripon.
An Internet of Things: People, Processes, and Products in the Spotfire Cloud Library Dr. Brand Niemann Director and Senior Data Scientist/Data Journalist.
1 CS430: Information Discovery Lecture 18 Usability 3.
Ground Truth Free Evaluation of Segment Based Maps Rolf Lakaemper Temple University, Philadelphia,PA,USA.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Fall 2002CS/PSY Information Visualization 2 Case Study: Portraying Hierarchies Visualizing hierarchies  Variety of techniques Traditional tree views,
Graph Visualization and Beyond … Anne Denton, April 4, 2003 Including material from a paper by Ivan Herman, Guy Melançon, and M. Scott Marshall.
Daniel A. Keim, Hans-Peter Kriegel Institute for Computer Science, University of Munich 3/23/ VisDB: Database exploration using Multidimensional.
Pad++: A Zooming Graphical Interface for Exploring Alternate Interface Physics Presented By: Daniel Loewus-Deitch.
Visualizing Large Dynamic Digraphs Michael Burch.
Review of Parnas’ Criteria for Decomposing Systems into Modules Zheng Wang, Yuan Zhang Michigan State University 04/19/2002.
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Software Quality Assurance and Testing Fazal Rehman Shamil.
Displaying Data  Data: Categorical and Numerical  Dot Plots  Stem and Leaf Plots  Back-to-Back Stem and Leaf Plots  Grouped Frequency Tables  Histograms.
Oman College of Management and Technology Course – MM Topic 7 Production and Distribution of Multimedia Titles CS/MIS Department.
Spatial Data Models Geography is concerned with many aspects of our environment. From a GIS perspective, we can identify two aspects which are of particular.
6. (supplemental) User Interface Design. User Interface Design System users often judge a system by its interface rather than its functionality A poorly.
1 INTRODUCTION TO COMPUTER GRAPHICS. Computer Graphics The computer is an information processing machine. It is a tool for storing, manipulating and correlating.
Systems Analysis and Design in a Changing World, Fourth Edition
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Flash Interface, Commands and Functions
System Design and Modeling
IAT 355 Trees2 ______________________________________________________________________________________.
CSc4730/6730 Scientific Visualization
Visual Perception.
Presentation transcript:

Software Visualization Space Filling Approach & Semantic Zooming Siva Venkatachalam 03/23/2004

Articles covered ► Marla J. Baker, Stephen G. Eick, Space-Filling Software Visualization, Journal of Visual Languages and Computing, 6(2), 1995, p ► K.L. Summers, T.E.Goldsmith, S.Kubica, T.P.Caudell, An Experimental Evaluation of Continuous Semantic Zooming in Program Visualization, IEEE Symposium on Information Visualization, 2003.

Software Visualization ► Software visualization is the use of computer graphics and animation to help illustrate and present computer programs, processes, and algorithms.

Space filling approach ► The space filling approach used in this paper is based on the generalized idea of treemaps developed by Shneirderman, which aids in showing hierarchical data. ► The hierarchy for a software system is Software system  subsystems  directories  files.

Motivation The main motivation for such a system is to gather information on:  Subsystem information  Directory information  Error-prone code  Recurring problems  System evolution

Typical software system information ► Non-commentary source lines (NCSL) ► Software complexity metrics ► Number and scope of modifications ► Number of programmers making modifications ► Number and type of bugs

Approach ► The approach adopted in this paper is very similar to that of a treemap approach. ► A rectangular space is partitioned into subsystems depending on its total NCSL. ► A subsystem is in-turn divided into directories, which in-turn contain files. ► The software visualization technique developed is implemented in a system called SeeSys.

Space Filling Approach Three subsystems X, Y, Z X subsystem has 5 directories Filling may indicate the amount of new NCSL In terms of %, directory 5 has the largest change in NCSL. Subsystem Y with its internal directories and files The leftmost directory contains 5 files and the shading may be indicative of new NCSL.

1. Subsystem information ► Questions:  Which subsystems are the largest?  Where is the new development activity? ► Procedure:  The outermost rectangle represents the total size of the system.  The individual rectangles denote the size of the subsystems in NCSL.  Color coding is used to encode the size of the individual subsystems.

Subsystem Information Three of the largest subsystems (visually)Three subsystems with the most development activityColor codesNCSL for t during various releases

2. Directory information ► Questions:  Where are the large directories?  Is there even distribution of ► Large and small directories ► New development between directories  Which directories are stable?  Which directories have the most activity?

Directory level detail Subsystems e and Z have the largest directories Subsystems n and D have no large directories Almost no development Max development Back

Zoomed view of subsystem t

3. Errors in code ► Questions:  Which subsystems and directories have the most errors (bugs)?  How much of the development activity is apportioned to. ► Fixing bugs. ► Adding new functionality.

Bug rates by subsystem and directory The size of the subsystems are based on the new NCSL during the development of the system Most development activity Max bug fix rate Lesser bug fix rate compared to new development

4. Recurring error problems ► Questions:  Are the bugs really fixed or are they a recurring problem?  Are there any components that would need complete restructuring or reconstruction? ► Fix-on-fix rate  A fix-on-fix bug is a software bug correction that modifies an earlier bug fix.

Fix-on-fix rates The area representing each subsystem and directory is proportional to the number of bugs. The fill area represents the fix-on-fix rates. Subsystems i and K have high fix-on-fix rates

5. System Evolution ► Questions:  Which were the major software releases?  Have any subsystems shrunk or disappeared during releases?  What is the rate of growth for subsystems and directories?  Where has the development work been done historically?

System Evolution ► SeeSys animates the display over the evolution the code. ► The bounding rectangle represents the maximum size of the subsystem across all releases. The filled portion is the amount of development during that particular release. ► A set of frame sliders control the display frame.

Code growth animation – frame 1 Frame sliders

Code growth animation – frame 2

Code growth animation – frame 3

Evolution changes ► Subsystem O has disappeared. ► Subsystems F and J have shrunk. ► Subsystem D has a slow growth at first, but a faster growth during later releases. ► Subsystems t, k and Z are the fastest growing subsystems.

User interaction ► SeeSys uses mouse movements to interact with the system. The active component at any particular time is indicated by a red highlighted boundary. ► The available statistics are displayed on the lower left corner. ► There are five buttons that can be used to change the appearance on the screen. ► There are sliders that control the number of rows to be displayed and the animation. Link

Display principles ► The visualization principles used in SeeSys  The individual components can be assembled to form the whole.  Pairs of components can be compared to see how they differ.  The components can be disassembled into smaller components namely subsystems and directories.

SeeSys properties ► Screen real estate  The total screen space (100%) is utilized as the rectangles are placed next to each other.  To view the smaller components in greater detail, the zoom feature can be used. ► Spatial Relationship  Example: Comparing the new development activity by subsystem involves making all subsystems of the same size. ► Color  Color could be used to encode various attributes like NCSL, age, complexity, activity, number of programmers etc of the software system.

New development by subsystem

Continuous Semantic Zooming An Experimental Evaluation

Zooming ► Geometric Zooming  This kind of zooming simply provides a blowup of graph content. (E.g. Zooming a picture) ► Semantic Zooming  This kind of zooming means that the information content changes and more details are shown when approaching a particular area of the graph. (E.g. plots in Matlab)  Issues ► Providing the appropriate level of detail is a challenge.

Examples of Visualization tools Flat representation of all the data items on the available screen space

Pan and Zoom

Overview + detail

Focus + context

Objective ► Study the effect of viewing visual programs on the users’ understanding. ► Comparison of three methods  Flat zooming  Semantic zooming  Continuous semantic zooming

Semantic Zooming ► Details in the zoom area become more distinct. ► Changes in the representation as the result of the zoom. ► Example: Procedural programming ► Drawback:  When viewing the top-level program, the contents of the procedures are hidden and vice- versa.

Programs without procedures

Encapsulated procedure and details

Continuous Semantic Zooming (CSZ) ► CSZ uses the concept of semantic zooming with blending and proximity. ► This allows the user to view both the procedure details and the details of the higher levels (focus + context). ► The smooth transition between levels helps maintain the mental map of the representations.

Continuous Semantic Zooming

Zooming with top-level details hidden

Evaluating CSZ ► The evaluation of the CSZ method is done by comparing it with flat and semantic zooming.  Flat representation contains no procedures.  Semantic representations have procedures.

Zooming Hierarchical view with procedures Flat representation with all procedures exploded

Evaluation Study ► The evaluation consisted of two pilot studies and one main study. ► Metrics  Time to find the elements.  Accuracy ► Pilot studies were mainly done to calibrate the metrics.  Compares only the flat and semantic representations.

Example program ► Available polygons  Lines, triangles, rectangles & ovals. ► The polygon’s relationship between one another is determined by the connections between program elements. ► SGPL – Simple Graphics Programming Language.

Pilot Study 1 – Program output

Pilot study 1 - Flat representation

Pilot study 1 - Hierarchical representation

Pilot Study 2 - Program output

Pilot studies - Observations ► The pilot studies were conducted to corroborate that the measures were sensitive enough to detect differences in time and accuracy. ► Observations  Pattern matching was used for simple polygon identification.  Remedies ► Add more similar features ► Add complexity

Main study ► Comparisons between flat, SZ and CSZ representations. ► 60 subjects, 20 per method ► 14 tasks ► The picture contained 164 polygons and the corresponding program contained around 200 elements.

Picture used for study

Results

Scatter plot

Results (cont’d)

Results Z scores The more negative the Z score is the higher the value.

Conclusions ► CSZ is a better method for visualizing complex programs when compared to flat and SZ representations. ► Distinct advantages  The context is not lost (multi-level views possible)  Smoother transition between views  The more complex the program gets, the better the method is over the others.

Program Screen

Future work ► The user’s understanding of textual programs could be tested using this procedure. ► The reasons for the difference between SZ and CSZ need to be ascertained and also whether the subjects made use of all the information given to them (these would provide new venues for research). ► Extension of CSZ to real world problems (visualizing parallel programs).