NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.

Back to Results
GRASP/Ada 95: Reverse Engineering Tools for AdaThe GRASP/Ada project (Graphical Representations of Algorithms, Structures, and Processes for Ada) has successfully created and prototyped an algorithmic level graphical representation for Ada software, the Control Structure Diagram (CSD), and a new visualization for a fine-grained complexity metric called the Complexity Profile Graph (CPG). By synchronizing the CSD and the CPG, the CSD view of control structure, nesting, and source code is directly linked to the corresponding visualization of statement level complexity in the CPG. GRASP has been integrated with GNAT, the GNU Ada 95 Translator to provide a comprehensive graphical user interface and development environment for Ada 95. The user may view, edit, print, and compile source code as a CSD with no discernible addition to storage or computational overhead. The primary impetus for creation of the CSD was to improve the comprehension efficiency of Ada software and, as a result, improve reliability and reduce costs. The emphasis has been on the automatic generation of the CSD from Ada 95 source code to support reverse engineering and maintenance. The CSD has the potential to replace traditional prettyprinted Ada source code. The current update has focused on the design and implementation of a new Motif compliant user interface, and a new CSD generator consisting of a tagger and renderer. The Complexity Profile Graph (CPG) is based on a set of functions that describes the context, content, and the scaling for complexity on a statement by statement basis. When combined graphicafly, the result is a composite profile of complexity for the program unit. Ongoing research includes the development and refinement of the associated functions, and the development of the CPG generator prototype. The current Version 5.0 prototype provides the capability for the user to generate CSDs and CPGs from Ada 95 source code in a reverse engineering as well as forward engineering mode with a level of flexibility suitable for practical application. This report provides an overview of the GRASP/Ada project with an emphasis on the current update.
Document ID
19970018379
Acquisition Source
Marshall Space Flight Center
Document Type
Contractor Report (CR)
Authors
Cross, James H., II
(Auburn Univ. AL United States)
Date Acquired
September 6, 2013
Publication Date
September 29, 1996
Subject Category
Computer Programming And Software
Report/Patent Number
CSE-TR-96-15
NAS 1.26:203302
NASA-CR-203302
Report Number: CSE-TR-96-15
Report Number: NAS 1.26:203302
Report Number: NASA-CR-203302
Accession Number
97N20358
Funding Number(s)
CONTRACT_GRANT: NAS8-39131
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available