To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 395
394  |  396
Subject: 
Software for Analyzing Forth Programs
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 13 Jun 2000 21:08:03 GMT
Viewed: 
1499 times
  
From NASA Tech Briefs:

http://www.nasatech.com/Briefs/June00/MFS31255.html

Various parts of code can be categorized and quantified in selectable ways.
Marshall Space Flight Center, Alabama
Forth Source Code Analysis Tool Set (FSCATS) is a computer program that
provides a wide range of capabilities for documenting, analyzing, and
reverse-engineering computer programs written in the Forth programming
language. FSCATS also aids in the management of software, estimating costs
of software, and development of metrics for characterizing software.

The functions performed by FSCATS include the following:
Categorizing lines of code and counting the lines in each category;
Producing cross-references for all words, constants, and variables;
Producing cross-references for all definitions;
Identifying unused and multiplicate definitions;
Identifying unused and undefined Forth words;
Identifying development system code, missing library definitions, and
missing compiler definitions; and
Listing a call tree at selectable levels of detail
— All symbols (full structure)

— Selected categories of symbols (partial structure)

— Only application-code-type symbols (classical structure chart).

The aforementioned functions are enhanced by presenting all results in
tables in the Microsoft Access software environment. The availability of
results in tabular form provides the user with extraordinary flexibility in
tailoring FSCATS to produce a wide range of sorted and filtered views. By
use of the report capabilities of Microsoft Access, tables of summary
information can readily be printed as needed.

The figure (http://www.nasatech.com/Briefs/June00/Images/MFS31255.jpg)
depicts an interactive display, denoted the "main form," used to control the
operation of FSCATS. The main form contains eight command buttons for
processing a source code and obtaining results. Command buttons 2, 3, and 4
enable the user to view the source code at the three levels of detail
mentioned above. The structure-chart level obtains when all filters are used
and the remaining code set consists of application-level Forth words.

FSCATS was written for execution on an IBM-compatible computer containing a
'486 or higher processor with at least 10MB of free hard-disk space and 16MB
of random-access memory. The Windows 95 or Windows NT operating system, the
Office 95 software, and Microsoft Access (version 7.0 or later) are needed
to run FSCATS.

This work was done by Michael Neighbors of Micro Craft Inc. for Marshall
Space Flight Center. For further information, please contact the company by
e-mail at theneighbors@zebra.net.

MFS-31255



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR