Document details

A language processing tool for program comprehension

Author(s): Berón, Mario ; Henriques, Pedro Rangel ; Pereira, Maria João ; Uzal, Roberto ; Montejano, Germán

Date: 2006

Persistent ID: http://hdl.handle.net/10198/584

Origin: Biblioteca Digital do IPB

Subject(s): Program comprehension; Comprehension software; System’s views; Inspections functions


Description

Program Comprehension is a Software Engineering discipline which aims to understand computer code written in a high-level programming language. Program Comprehension is useful for reuse, inspection, maintenance, reverse engineering and many other activities in the context of Software Engineering. In this paper we define a set of techniques to extract static and dynamic information from the target program. These techniques are based on the inclusion of inspection functions and control statements in the system’s source code. The first are intended to show the functions actually used. The second are necessary to reduce the number of functions recovered for a better administration. We show a possible implementation of this approach using a language processor generator very useful and easy to use. Our strong motivation was to support the understanding of routing algorithms, available in EAR a routing algorithms evaluation system. To assist the program comprehension task, we generate different views that use the information extracted by our strategy, such as the routing algorithm output (that can be seen as a problem domain view), or the sequence of called functions, and their source and object code (examples of program domain views). Although specific, we intend to generalize this approach.

Document Type Conference paper
Language English
Contributor(s) Biblioteca Digital do IPB
facebook logo  linkedin logo  twitter logo 
mendeley logo

Related documents

No related documents