Interprocedural analysis for program comprehension by specialization

We report on an approach for program comprehension during large-scale maintenance of Fortran application programs. We have adapted partial evaluation (or specialization of programs given specific values for their input data) techniques for program comprehension. We focus on the automatic interprocedural analysis and we describe how we have specified, implemented in a tool, and used that analysis to improve program comprehension. The difficulty of that analysis is due to the lack of well defined interprocedural mechanisms and the complexity of visibility rules in Fortran.

[1]  Sandrine Blazy,et al.  SFAC, a tool for program comprehension by specialization , 1994, Proceedings 1994 IEEE 3rd Workshop on Program Comprehension- WPC '94.

[2]  Anneliese Amschler Andrews,et al.  Dynamic code cognition behaviors for large scale code , 1994, Proceedings 1994 IEEE 3rd Workshop on Program Comprehension- WPC '94.

[3]  Sandrine Blazy,et al.  Software maintenance: an analysis of industrial needs and constraints , 1992, Proceedings Conference on Software Maintenance 1992.

[4]  Uwe Meyer Techniques for partial evaluation of imperative languages , 1991 .

[5]  Peter Sestoft,et al.  Partial evaluation and automatic program generation , 1993, Prentice Hall international series in computer science.

[6]  Gilles Kahn,et al.  Natural Semantics , 1987, STACS.

[7]  Norman Wilde,et al.  Software reconnaissance: Mapping program features to code , 1995, J. Softw. Maintenance Res. Pract..

[8]  Sandrine Blazy,et al.  Partial evaluation as an aid to the comprehension of Fortran programs , 1993, [1993] IEEE Second Workshop on Program Comprehension.

[9]  Matthew K. O. Lee,et al.  The B-Method , 1991, VDM Europe.

[10]  Robert Glück,et al.  Fortran program specialization , 1995, SIGP.