Displaying dependence graphs: a hierarchical approach

被引:16
作者
Balmas, F [1 ]
机构
[1] Univ Paris 08, Dept Informat, Lab Intelligence Artificielle, F-93526 St Denis, France
来源
JOURNAL OF SOFTWARE MAINTENANCE AND EVOLUTION-RESEARCH AND PRACTICE | 2004年 / 16卷 / 03期
关键词
dependence graphs; graph displaying; software exploration tools;
D O I
10.1002/smr.291
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a method to extract and handle data and control dependences of programs, which we represent as simplified system dependence graphs. Ordinary dependence graphs contain too many nodes and edges for them to be easily comprehended, even for medium sized programs. That is why we propose decomposing programs into a hierarchy of groups for which the corresponding dependence graphs are likely to be of manageable size. In order to realize this, we first implement a tool that builds this hierarchy and stores it in a database. Then a graphical interface provides means to browse the hierarchy, to visualize the dependences of each group, to possibly refine the proposed hierarchy and to annotate nodes or groups. This paper introduces our approach for dependence graph handling, it describes our tool for graph exploration and discusses the results we obtained with a set of real-world programs. Copyright (C) 2004 John Wiley Sons, Ltd.
引用
收藏
页码:151 / 185
页数:35
相关论文
共 35 条
[1]  
ANDERSEN LO, 1994, THESIS DIKU U COPENH
[2]   Program understanding and maintenance with the CANTO environment [J].
Antoniol, G ;
Fiutem, R ;
Lutteri, G ;
Tonella, P ;
Zanfei, S ;
Merlo, E .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1997, :72-81
[3]   Displaying dependence graphs: a hierarchical approach [J].
Balmas, F .
EIGHTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2001, :261-270
[4]   Using dependence graphs as a support to document programs [J].
Balmas, F .
SCAM 2002: SECOND IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS MANIPULATION, PROCEEDINGS, 2002, :145-154
[5]  
Bederson B. B., 1994, P 7 ANN ACM S US INT, P17, DOI DOI 10.1145/192426.192435
[6]   GSEE:: a generic software exploration environment [J].
Favre, JM .
9TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2001, :233-244
[7]  
*FREE SOFTW FDN, 1994, GNU GDBM
[8]  
FROLICH M, 1994, 594 U BREM DEP COMP
[9]  
HARDT M, 1998, COMMUNICATION
[10]   Node coarsening calculi for program slicing [J].
Harman, M ;
Hierons, R ;
Danicic, S ;
Howroyd, J ;
Laurence, M ;
Fox, C .
EIGHTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2001, :25-34