Title :
A lightweight visualization of interprocedural data-flow paths for source code reading
Author :
Ishio, Takashi ; Etsuda, Shogo ; Inoue, Katsuro
Author_Institution :
Grad. Sch. of Inf. Sci. & Technol., Osaka Univ., Suita, Japan
Abstract :
To understand the behavior of a program, developers must read source code fragments in various modules. For developers investigating data-flow paths among modules, a call graph is too abstract since it does not visualize how parameters of method calls are related to each other. On the other hand, a system dependence graph is too fine-grained to investigate interprocedural data-flow paths. In this research, we propose an intermediate-level of visualization; we visualize interprocedural data-flow paths among method parameters and fields with summarized intraprocedural data-flow paths. We have implemented our visualization as an Eclipse plug-in for Java. The tool comprises a lightweight data-flow analysis and an interactive graph viewer using fractal value to extract a small subgraph of data-flow related to variables specified by a developer. A case study has shown our visualization enabled developers to investigate more data-flow paths in a fixed time slot. In addition, we report our lightweight data-flow analysis can generate precise data-flow paths for 98% of Java methods.
Keywords :
Java; data flow analysis; data flow graphs; data visualisation; reverse engineering; source coding; Eclipse plug-in; Java methods; call graph; data-flow analysis; data-flow subgraph; fractal value; interactive graph viewer; interprocedural data-flow paths; lightweight visualization; program behavior understanding; source code fragments; source code reading; system dependence graph; visualization intermediate-level; Approximation methods; Arrays; Control systems; Data visualization; Java; Software; Visualization; data-flow analysis; program comprehension; software visualization; static analysis;
Conference_Titel :
Program Comprehension (ICPC), 2012 IEEE 20th International Conference on
Conference_Location :
Passau
Print_ISBN :
978-1-4673-1213-4
Electronic_ISBN :
1092-8138
DOI :
10.1109/ICPC.2012.6240506