STATIC ANALYSIS OF FUNCTIONAL PROGRAMS

Citation
Kg. Vandenberg et Pm. Vandenbroek, STATIC ANALYSIS OF FUNCTIONAL PROGRAMS, Information and software technology, 37(4), 1995, pp. 213-224
Citations number
26
Categorie Soggetti
Computer Sciences","Information Science & Library Science","Computer Science Information Systems","Computer Science Software Graphycs Programming
ISSN journal
09505849
Volume
37
Issue
4
Year of publication
1995
Pages
213 - 224
Database
ISI
SICI code
0950-5849(1995)37:4<213:SAOFP>2.0.ZU;2-W
Abstract
In this paper, the static analysis of programs in the functional progr amming language Miranda is described based on two graph models. A new control-flow graph model of Miranda definitions is presented, and a m odel with four classes of callgraphs. Standard software metrics are ap plicable to these models. A Miranda front end for Prometrix dagger, a tool for the automated analysis of flowgraphs and callgraphs, has been developed. This front end produces the flowgraph and callgraph repres entations of Miranda programs. Some features of the metric analyser ar e illustrated with an example program. The tool provides a promising a ccess to standard metrics on functional programs.