DocumentCode
1928282
Title
Visualization of program dependence and slices
Author
Krinke, Jens
Author_Institution
FernUniversitat, Hagen, Germany
fYear
2004
fDate
11-14 Sept. 2004
Firstpage
168
Lastpage
177
Abstract
The program dependence graph (PDG) itself and the computed slices within the program dependence graph are results that should be presented to the user in a comprehensible form, if not used in subsequent analyses. A graphical presentation would be preferred as it is usually more intuitive than textual ones. This work describes how a layout for the PDGs can be generated to enable an appealing presentation. However, experience shows that the graphical presentation is less helpful than expected and a textual presentation is superior. Therefore, this work contains an approach to textually present slices of PDGs in source code. The innovation of this approach is the fine-grained visualization of arbitrary node sets based on tokens and not on complete lines like in other approaches. Furthermore, a major obstacle in visualization and comprehension of slices is the loss of locality. Thus, this work presents a simple, yet effective, approach to limit the range of a slice. This approach enables a visualization of slices where the local effects stand out against the more global effects. A second, more sophisticated approach visualizes the influence range of chops for variables and procedures. This enables a visualization of the impact of procedures and variables on the complete system.
Keywords
program slicing; program visualisation; arbitrary node sets; fine-grained visualization; program dependence graph; program slices; program visualization; source code; Application software; Area measurement; Data flow computing; Iterative methods; Layout; Software maintenance; Software measurement; Software testing; Technological innovation; Visualization;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
ISSN
1063-6773
Print_ISBN
0-7695-2213-0
Type
conf
DOI
10.1109/ICSM.2004.1357801
Filename
1357801
Link To Document