home *** CD-ROM | disk | FTP | other *** search
- 12-May-87 14:27:36-MDT,2528;000000000001
- Return-Path: <BGABLE@ADA20.ISI.EDU>
- Received: from ADA20.ISI.EDU by SIMTEL20.ARPA with TCP; Tue, 12 May 87 14:27:13 MDT
- Date: 12 May 1987 13:26:01 PDT
- From: BGABLE@ADA20.ISI.EDU
- Subject: HALSTEAD - a comment or two
- To: RCONN@SIMTEL20.ARPA
- cc: BGABLE@ADA20.ISI.EDU
-
- Subject: Problems building Halstead and McCabe Metric tools.
-
- First of all the distribution kit does not contain what COMPMEAS.ABS says it
- should. This abstract mentions two versions of each tool, one that works off Ada
- source code, and the other that works from the Intermetrics format Diana program
- library. The only version I was able to build was the McCabe version that runs
- off of source code. If both versions are contained in the source kit then I must
- be doing something wrong, because I could not figure out how to build the Diana
- version (this may however be a problem with our version of the Intermetrics
- Byron system).
-
- Now Halstead is another story the source file HALSTEAD.SRC seems to have about
- three versions of each source code module in it, along with at least 2 copies
- (and maybe 3) of a VAX/VMS object module in binary format. This makes the file
- impossible to split with PAGER or COMBINE/BREAK. I did however, edit this file
- by hand to remove the binary object files and attempt to split it with PAGER.
- After checking the differences between versions and purging the older copies, I
- attempted to compile HALSTEAD and found that only the Diana version was
- contained in the file.
-
- So, it turns out that there is one version of each program in the directory but
- McCabe runs off of source and Halstead runs from the Diana library. I think that
- at the very least, the versions of the programs that are contained in the
- METRICS directory should run off source code. I'm sure that there are a great
- many sites that might benefit from these tools but that don't have any
- Intermetrics tools with which to build the Diana libraries.
-
- In addition we have found a couple of Ada constructs that the McCabe tool will
- not parse correctly. One is contained in McCabe's own MCCLEX.BDY, which causes
- the program to quit with a fatal parser exception, and the other concerns
- nested packages, which causes the parser to quit with an empty stack exception.
-
- If Intermetrics is not willing to correct these problems, we would like to take
- a stab at it. We will however need a copy of the NYU parser generator to
- regenerate the parse and lex tables used by the program.
-
- Mark Schmitz
- Lear Siegler
- -------
- 9-Jul-87 07:56:13-MDT,879;000000000001
- Return-Path: <ADA-SW-REQUEST@SIMTEL20.ARPA>
- Received: from nusc-wpn.arpa by SIMTEL20.ARPA with TCP; Thu, 9 Jul 87 07:21:18 MDT
- Date: 9 Jul 87 09:07:00 EDT
- From: <domingue@nusc-wpn.arpa>
- Subject: halstead
- To: "ada-sw" <ada-sw@simtel20.arpa>
- Reply-To: <domingue@nusc-wpn.arpa>
-
-
-
-
- Help!
-
- 1) After extracting the Halstead tool and attempting compilation on
- a VAX/VMS system, it became apparent the repository was missing the
- "DIANA" subprogram which was being "withed and used". If Any body knows
- how or where I can get a copy of "DIANA" please respond.
-
- 2) Also from the Ada repository I extracted the variable_length_io
- files. Aparently the code when stored in the repository lost some data
- if anyone can help me get a clean copy of this program please help.
-
- send responses to:
- Domingue@NUSC-WPN.ARPA
- Thank You
- Bob Domingue
- ------
-